[−][src]Crate raytracer
Modules
random |
Macros
cross | Alternative for |
dot | Alternative for |
len | Alternative for |
len_sqr | Alternative for |
normalize | Alternative for |
ray | Shorthand for |
reflect | Alternative for |
refract | Alternative for |
vec3 | Shorthand for |
Structs
Camera | This struct allows to position viewer in the scene. |
Glass | Glass (dielectric) |
HitData | Data struct that holds information about the |
Matte | Lambertian (diffuse) |
Metal | Metal (solid reflective) |
Ray | This struct represents a mathematical ray. |
ShapeList |
|
Sphere |
|
Vec3 | This struct represents a mathematical vector. |
Traits
Material | Basic trait that every material must implement. |
Shape | Basic trait that every scene object must implement. |
Functions
schlick | Returns |