MCPcopy Index your code
hub / github.com/g3n/engine / decLightColor

Method decLightColor

loader/collada/library_lights.go:402–406  ·  view source on GitHub ↗
(start xml.StartElement, cdata []byte, lc *LightColor)

Source from the content-addressed store, hash-verified

400}
401
402func (d *Decoder) decLightColor(start xml.StartElement, cdata []byte, lc *LightColor) error {
403
404 lc.Sid = findAttrib(start, "sid").Value
405 return decFloat32Sequence(cdata, lc.Data[:])
406}

Callers 4

decAmbientMethod · 0.95
decDirectionalMethod · 0.95
decPointMethod · 0.95
decSpotMethod · 0.95

Calls 2

findAttribFunction · 0.85
decFloat32SequenceFunction · 0.85

Tested by

no test coverage detected