Expand description
Safe wrappers for working with matrix and vector types provided by citro3d.
Structs§
- Clip
Planes - Configuration for the clipping planes of a projection.
- FQuat
- A quaternion, internally represented the same way as
FVec. - FVec
- A vector of
f32s. - IVec
- A 4-vector of
u8s. - Matrix4
- A 4x4 row-major matrix of
f32s. - Orthographic
- See
Projection::orthographic. - Perspective
- See
Projection::perspective. - Projection
- Configuration for a 3D projection.
See specific
Kindimplementations for constructors, e.g.Projection::perspectiveandProjection::orthographic. - Stereo
Displacement - Configuration for calculating stereoscopic projections.
Enums§
- Aspect
Ratio - The aspect ratio of a projection plane.
- Coordinate
Orientation - The orientation (or “handedness”) of the coordinate system. Coordinates are always +Y-up, +X-right.
- Screen
Orientation - Whether to rotate a projection to account for the 3DS screen orientation. Both screens on the 3DS are oriented such that the “top-left” of the screen in framebuffer coordinates is the physical bottom-left of the screen (i.e. the “width” is smaller than the “height”).