Skip to content

ludus::gameplay::camera::CameraPose

Ludus Wiki · API overview · Browse API

Struct

Rigid camera pose: right handed, +Y up, local forward -Z; no scale/shear.

Declared in modules/gameplay/camera/include/ludus/gameplay/camera/camera.hpp

#include <ludus/gameplay/camera/camera.hpp>
struct ludus::gameplay::camera::CameraPose final

Fields

Position

foundation::math::Vector3d ludus::gameplay::camera::CameraPose::Position {}
Finite world position in world units; remains foundation::float64 until render extraction.

Related types: foundation::math::Vector3d

Declared in modules/gameplay/camera/include/ludus/gameplay/camera/camera.hpp

Orientation

foundation::math::Quaternion ludus::gameplay::camera::CameraPose::Orientation {}
Unit local-to-world rotation; squared-length tolerance is 1e-4.

Related types: foundation::math::Quaternion

Declared in modules/gameplay/camera/include/ludus/gameplay/camera/camera.hpp