Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSG ¶
type CSG struct { }
CSG (constructive solid geometry) combines other objects using union, intersection and difference.
type Object ¶
type Object struct { Transform mgl64.Mat4 InvTransform mgl64.Mat4 MaterialName string IsectFn bvh.IntersectFn // contains filtered or unexported fields }
Object reprsents an object in the scene and can be intersected with rays.
func MakeObjects ¶
MakeObjects creates new objects from the given options.
Click to show internal directories.
Click to hide internal directories.