Module rustracer::transformation
source · Expand description
3D Homogeneous Transformation module.
Provides Matrix
and Transformation
struct.
Structs§
- Matrix 🔒4D Matrix struct.
- 3D Homogeneous Transformation struct.
Constants§
- 4D Identity matrix.
Functions§
- Return a
Transformation
object encoding a rotation around the X axis. - Return a
Transformation
object encoding a rotation around the Y axis. - Return a
Transformation
object encoding a rotation around the Z axis. - Return a
Transformation
object encoding a scaling. - Return a
Transformation
object encoding a rigid translation.