Module hitable

Source
Expand description

Wrappers, trait & textures

Structs§

ActiveHit
Records information on the surface with which the ray was calculated to intersect.
Interaction
A single indivisible object that can be added to the scene without being decomposed.
Primitive
Wrapper around all objects that can be added to a scene

Enums§

HitRecord
Either no intersection was found, or we have information on the intersection.
Texture
These are uniform textures that can be set for any object.

Traits§

Hit
Any object that is to be added to a scene needs to either implement this trait or be able to be decomposed into a vector of objects that do.

Type Aliases§

Composite
A collection of Interactions