package
0.2.0
Repository: https://github.com/g3n/engine.git
Documentation: pkg.go.dev

# Functions

NewAmbient returns a pointer to a new ambient color with the specified color and intensity.
NewDirectional creates and returns a pointer of a new directional light the specified color and intensity.
NewPoint creates and returns a point light with the specified color and intensity.
NewSpot creates and returns a spot light with the specified color and intensity.

# Structs

Ambient represents an ambient light.
Directional represents a directional, positionless light.
Point is an omnidirectional light source.
Spot represents a spotlight.

# Interfaces

ILight is the interface that must be implemented for all light types.