Module gl_utils::camera3d [−][src]
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. |
| Projection3d |
The 3D projection which can be either perspective or orthographic |
Enums
| Projection3dInner |
Either a |
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. |