14#include "../Utils/Math/Transform.h"
Manages camera orientation and axis alignment.
UpAxis
Defines possible up axes for the camera.
@ XNUp
Up along the negative X-axis.
@ XUp
Up along the positive X-axis.
@ ZNUp
Up along the negative Z-axis.
@ ZUp
Up along the positive Z-axis.
@ YUp
Up along the positive Y-axis.
@ YNUp
Up along the negative Y-axis.
void CalculateTransform()
Calculates the camera's transformation based on its axes.
Quaternion rotation
Rotation representing the camera's orientation.
Quaternion GetRotation()
Retrieves the camera's rotation.
ForwardAxis GetForwardAxis()
Retrieves the camera's forward axis.
ForwardAxis
Defines possible forward axes for the camera.
@ XForward
Forward along the positive X-axis.
@ XNForward
Forward along the negative X-axis.
@ ZNForward
Forward along the negative Z-axis.
@ YNForward
Forward along the negative Y-axis.
@ YForward
Forward along the positive Y-axis.
@ ZForward
Forward along the positive Z-axis.
UpAxis upAxis
The camera's up axis.
bool VerifyTransform()
Verifies the validity of the camera's transformation.
ForwardAxis forwardAxis
The camera's forward axis.
Vector3D GetForwardVector()
Retrieves the camera's forward vector.
UpAxis GetUpAxis()
Retrieves the camera's up axis.
Vector3D GetUpVector()
Retrieves the camera's up vector.
A mathematical construct representing a rotation in 3D space.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.