package
2.0.0+incompatible
Repository: https://github.com/hunterloftis/pbr.git
Documentation: pkg.go.dev

# Functions

NewTriangle creates a new triangle.
UnitCube returns a pointer to a new 1x1x1 Cube Surface with material and optional transforms.
UnitSphere returns a pointer to a new 1x1x1 Sphere Surface with a given material and optional transforms.

# Structs

TODO: construct Bounding Volume Hierarchy.
Cube describes the orientation and material of a unit cube.
Sphere describes a 3d sphere.
Triangle describes a triangle.

# Interfaces