Skip to main content

Module transform

Module transform 

Source
Expand description

Scene transform types for hierarchy propagation.

Uses raw [f32; N] arrays for zero-dependency purity. The existing game_object::Transform handles TRS with quaternion rotation. This module adds GlobalTransform (world-space 4x4 matrix) for the hierarchy propagation system.

Structs§

GlobalTransform
World-space 4x4 column-major transform matrix. Computed by propagating local transforms through the scene hierarchy.

Functions§

mat4_mul
4x4 column-major matrix multiply. Canonical implementation — use this instead of duplicating in GPU/editor crates.