Skip to content

EntropyCanvas::Transform::MatrixCache

Cached matrices - computed once, reused until invalidated. More…

#include <Transform.h>

Name
glm::mat3worldNormalMatrix
glm::mat4worldMatrixTransposed
glm::mat4worldMatrix
boolworldDirty
glm::mat3normalMatrix
glm::mat4modelMatrixTransposed
glm::mat4modelMatrix
booldirty
struct EntropyCanvas::Transform::MatrixCache;

Cached matrices - computed once, reused until invalidated.

Mutable because cache updates are logically const (lazy evaluation).

glm::mat3 worldNormalMatrix {1.0f};
glm::mat4 worldMatrixTransposed {1.0f};
glm::mat4 worldMatrix {1.0f};
bool worldDirty {true};
glm::mat3 normalMatrix {1.0f};
glm::mat4 modelMatrixTransposed {1.0f};
glm::mat4 modelMatrix {1.0f};
bool dirty {true};

Updated on 2026-01-26 at 17:14:35 -0500