Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarTechController.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-25 06:29:13 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-25 06:29:13 +1100
commit8899a1d27016880708783f9452cb010d8111fe82 (patch)
treec0d3c45473830698af12a612940a3328fbc92a6f /source/game/StarTechController.cpp
parent560ae08424956bb495bc2453973467d138029c7c (diff)
make tech parentOffset interpolated
Diffstat (limited to 'source/game/StarTechController.cpp')
-rw-r--r--source/game/StarTechController.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/game/StarTechController.cpp b/source/game/StarTechController.cpp
index 4ead428..90926de 100644
--- a/source/game/StarTechController.cpp
+++ b/source/game/StarTechController.cpp
@@ -58,6 +58,8 @@ TechController::TechController() {
m_xParentOffset.setFixedPointBase(0.003125);
m_yParentOffset.setFixedPointBase(0.003125);
+ m_xParentOffset.setInterpolator(lerp<float, float>);
+ m_yParentOffset.setInterpolator(lerp<float, float>);
}
Json TechController::diskStore() {