Expand description
Types and functions for 3D rendering.
Structs§
- Camera3d
- Represents a camera (“view”) positioned and oriented in a 3D scene with a 3D transformation and a 3D projection.
- Perspective
Fov - Parameters for a perspective projection based on vertical field-of-view angle
- Projection3d
- The 3D projection which can be either perspective or orthographic
Enums§
- Projection3d
Inner - Either a
PerspectiveorOrthographicprojection
Functions§
- aspect_
ratio - Computes floating point ‘width/height’ ratio from unsigned resolution input
- transform_
mat_ world_ to_ view - Builds a 4x4 transformation matrix that will transform points in world space coordinates to view space coordinates for a given view position and orientation.