Module crystal_ball::prelude [−][src]
Structs
Camera | A geometric representation of a camera including aperture and focus distance. |
Color | An RGB color represented by 3 float values.
|
Diffuse | A material that scatters diffusely according to Lambert’s law. |
Emissive | A material that emits light. |
IOR | A struct containing common index of refraction values as constants. |
Image | An image of fixed size represented as a 2-dimensional |
Metallic | A material that is rough and reflecting. |
Refractive | A material that is rough and refracts and reflects light. |
RenderEngine | The render engine. |
Scene | The scene, consisting of camera, objects and background. |
Sphere | A geometrically perfect sphere. |
Vec3 | A 3D vector.
This struct supports elementwise arithmetic operations (+, -, *, /).
In addition |
Traits
Material | Characterize optical properties of a surface. |
Shape |