dmech v0.4.1 (2020-07-30T18:32:41Z)
Home
Dub
Repo
pointLight
dgl
graphics
light
Undocumented in source. Be warned that the author may not have intended to support it.
Light
pointLight
(
Vector3f
pos
,
Color4f
diffuseColor
,
Color4f
ambientColor
,
float
constantAttenuation
= 1.0f
,
float
linearAttenuation
= 0.0f
,
float
quadraticAttenuation
= 0.2f
)
Meta
Source
See Implementation
dgl
graphics
light
classes
Light
functions
pointLight