Module vector
rustracer
1.0.4
Module vector
Structs
Constants
Functions
In crate rustracer
Modules
camera
cli
color
error
hdrimage
imagetracer
material
misc
normal
point
random
ray
render
scene
shape
transformation
vector
world
Macros
check
exit
not_match
not_matches
Functions
completion
convert
demo
main
render
?
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.