[][src]Crate smallpt

uml

Re-exports

pub use bsdf::*;
pub use camera::*;
pub use hit::*;
pub use material::*;
pub use plane::*;
pub use ray::*;
pub use rectangle::*;
pub use scene::*;
pub use sphere::*;
pub use triangle::*;

Modules

aabb

Axis Aligned Bounding Boxes.

axis

Axis enum for indexing three-dimensional structures.

bounding_hierarchy

This module defines the BoundingHierarchy trait.

bsdf
bvh

This module defines a BVH.

camera
flat_bvh

This module exports methods to flatten the BVH and traverse it iteratively.

hit
material
nalgebra

nalgebra

plane
ray

This module defines a Ray structure and intersection algorithms for axis aligned bounding boxes and triangles.

ray
rectangle
scene
sphere
triangle
vector

Enums

PrimitiveType

Constants

EPSILON

A minimal floating value used as a lower bound. TODO: replace by/add ULPS/relative float comparison methods.

Traits

Traceable

Functions

saturate
tonemap
trace

Type Definitions

Point3

A statically sized 3-dimensional column point.

Pt3
Vec3
Vector3

A stack-allocated, 3-dimensional column vector.