Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dielectric ¶
type Dielectric struct {
IndexOfRefraction float64
}
func NewDielectric ¶
func NewDielectric(indexOfRefraction float64) *Dielectric
type HitRecord ¶
func NewHitRecord ¶
func NewHitRecord() HitRecord
type Hittable ¶
func CreateWorld ¶
func CreateWorld() Hittable
type Lambertian ¶
func NewLambertian ¶
func NewLambertian(albedo r3.Vec) *Lambertian
Click to show internal directories.
Click to hide internal directories.