resonance 1.0.1
Loading...
Searching...
No Matches
Transform Struct Reference

Affine transform stored as three basis rows and a translation row. More...

#include <transform.h>

Collaboration diagram for Transform:

Public Attributes

Vector3 mBasisX
Vector3 mBasisY
Vector3 mBasisZ
Vector3 mTranslation

Detailed Description

Affine transform stored as three basis rows and a translation row.

The class is not polymorphic and emits no RTTI descriptor, so the name is inferred. The four rows are quadwords the vector unit multiplies in place, which is why each row is a padded Vector3 rather than a bare triple. Rnd::MatStage and Rnd::Transformable both store transforms in this shape, and the identity every default constructor writes is the three unit basis rows followed by a zero translation.

Member Data Documentation

◆ mBasisX

Vector3 Transform::mBasisX

◆ mBasisY

Vector3 Transform::mBasisY

◆ mBasisZ

Vector3 Transform::mBasisZ

◆ mTranslation

Vector3 Transform::mTranslation

The documentation for this struct was generated from the following file: