rustracer
1.0.4
Module vector
Structs
Constants
Functions
In crate rustracer
?
Module
rustracer
::
vector
source
·
[
−
]
Expand description
3D Vector module.
Provides
Vector
struct.
Structs
§
Vector
3D Vector struct.
Constants
§
E1
X-axis vector.
E2
Y-axis vector.
E3
Z-axis vector.
Functions
§
create_onb_from_z
Create a orthonormal basis (ONB) from a
Vector
representing the z axis.