Structs§
- Affine3A
- A 3D affine transform, which can represent translation, rotation, scaling and shear.
- Mat3
- A 3x3 column major matrix.
- Mat4
- A 4x4 column major matrix.
- Quat
- A quaternion representing an orientation.
- Vec2
- A 2-dimensional vector.
- Vec3
- A 3-dimensional vector.
- Vec4
- A 4-dimensional vector.
Functions§
- compute_
tangents - Compute tangent vectors from positions, normals, UVs and indices. Returns a Vec of [f32; 4] where xyz = tangent direction, w = handedness.