21#include "scene/Component.h"
Engine-wide compile-time tunables and ANSI colour codes.
constexpr mnd::f32 kCameraFov
constexpr mnd::f32 kCameraFarPlane
constexpr mnd::f32 kCameraNearPlane
Engine-wide primitive type aliases and GLM math imports.
Perspective camera — provides view and projection matrices each frame.
void Update(f32 deltaTime) override
No per-frame logic needed; view/projection are computed on demand.
mat4 GetProjectionMatrix(f32 aspect) const
Compute the perspective projection matrix.
mat4 GetViewMatrix() const
Compute the view matrix from the owner's world transform.
#define COMPONENT(ComponentClass)
glm::mat4 mat4
4×4 column-major float matrix (model/view/projection).
float f32
32-bit IEEE float — the standard GL scalar type.