JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
FollowCamera.cpp File Reference
#include "HMI/Graphics/FollowCamera.h"
#include <algorithm>
#include <cmath>

Namespaces

namespace  hmi

Functions

FollowCameraState hmi::advanceFollowCamera (const FollowCameraState &previous, core::Vector2 characterPosition, core::Vector2 facing, const core::Rect &levelBounds, core::Vector2 viewHalfExtent, float fixedDelta) noexcept
 Avance la caméra de suivi d'un pas fixe.