Module normal
rustracer
1.0.4
Module normal
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
::
normal
source
·
[
−
]
Expand description
3D Normal module.
Provides
Normal
struct.
Structs
§
Normal
3D Normal struct.
Constants
§
E1
X-axis normal.
E2
Y-axis normal.
E3
Z-axis normal.
Functions
§
create_onb_from_z
Create a orthonormal basis (ONB) from a
Normal
representing the z axis.