Expand description
All of the objects and functions required for the proper execution of the physics engine
Re-exports§
pub use camera::Camera;pub use ray::Ray;pub use rgb::RGB;pub use sky::Sky;pub use vec3::Vec3;pub use world::World;pub use hitable::*;pub use primitives::*;
Modules§
- camera
- Abstaction for the field of view
- hitable
- Wrappers, trait & textures
- primitives
- Basic objects to build complex scenes
- ray
- Simple representation of a light ray
- rgb
- Operations on color values
- sky
- External environment texture
- vec3
- Used for both positions and 3D-vectors
- world
- Main loop & wrapper struct
Constants§
- EPSILON
- To prevent “shadow acne”