Tool refactoring
This commit is contained in:
@ -30,7 +30,7 @@ void GameCamera::onStart() {
|
||||
if(current != slowTarget) {
|
||||
float_t m = 6.0f;
|
||||
float_t s = delta * 3.0f;
|
||||
current += glm::vec2(.
|
||||
current += glm::vec2(
|
||||
mathClamp<float_t>((slowTarget.x - current.x) * s, -m, m),
|
||||
mathClamp<float_t>((slowTarget.y - current.y) * s, -m, m)
|
||||
);
|
||||
|
Reference in New Issue
Block a user