Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Light ¶
type Light interface{}
Light defines types that contain all the functionality of a light source
type PointLight ¶
type PointLight struct { Position math3d.Vector3 `json:"position"` Intensity image.Color `json:"intensity"` }
PointLight defines a punctual light in 3D space
func PointLightsFromMap ¶
func PointLightsFromMap(m []map[string]interface{}) []PointLight
PointLightsFromMap returns the point light defined in the map
Click to show internal directories.
Click to hide internal directories.