SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::TransformComponent::TransformMatrix Struct Reference

Cached translation/rotation/scale matrices combined into the final transform matrix. More...

#include <TransformComponent.hpp>

Public Member Functions

 TransformMatrix ()
Math::Matrix4 CalculateTransformMatrix () const

Public Attributes

Math::Matrix4 Rotation
Math::Matrix4 Scaling
Math::Matrix4 Translation

Detailed Description

Cached translation/rotation/scale matrices combined into the final transform matrix.

Definition at line 79 of file TransformComponent.hpp.

Constructor & Destructor Documentation

◆ TransformMatrix()

Sleak::TransformComponent::TransformMatrix::TransformMatrix ( )
inline

Definition at line 81 of file TransformComponent.hpp.

Member Function Documentation

◆ CalculateTransformMatrix()

Math::Matrix4 Sleak::TransformComponent::TransformMatrix::CalculateTransformMatrix ( ) const
inline

Definition at line 83 of file TransformComponent.hpp.

Member Data Documentation

◆ Rotation

Math::Matrix4 Sleak::TransformComponent::TransformMatrix::Rotation

Definition at line 88 of file TransformComponent.hpp.

◆ Scaling

Math::Matrix4 Sleak::TransformComponent::TransformMatrix::Scaling

Definition at line 89 of file TransformComponent.hpp.

◆ Translation

Math::Matrix4 Sleak::TransformComponent::TransformMatrix::Translation

Definition at line 87 of file TransformComponent.hpp.