Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Primitive ¶
type Primitive interface { Intersection(geometry.Ray, float64, float64, *rand.Rand) (*material.RayHit, bool) BoundingBox(float64, float64) (*aabb.AABB, bool) SetMaterial(material.Material) IsInfinite() bool IsClosed() bool Copy() Primitive }
Primitive represents a geometry object with a material in 3D space in the scene
Click to show internal directories.
Click to hide internal directories.