Directional3DLight constructor
A white sun shining down and forward.
Implementation
Directional3DLight({Vector3? direction, this.color = const (1.0, 1.0, 1.0)})
: direction = direction ?? (Vector3(0.3, 1, 0.5)..normalize());
A white sun shining down and forward.
Directional3DLight({Vector3? direction, this.color = const (1.0, 1.0, 1.0)})
: direction = direction ?? (Vector3(0.3, 1, 0.5)..normalize());