MorphGeometry represents a base geometry and its morph targets.
| 14 | |
| 15 | // MorphGeometry represents a base geometry and its morph targets. |
| 16 | type MorphGeometry struct { |
| 17 | baseGeometry *Geometry // The base geometry |
| 18 | targets []*Geometry // The morph target geometries (containing deltas) |
| 19 | weights []float32 // The weights for each morph target |
| 20 | uniWeights gls.Uniform // Texture unit uniform location cache |
| 21 | morphGeom *Geometry // Cache of the last CPU-morphed geometry |
| 22 | } |
| 23 | |
| 24 | // MaxActiveMorphTargets is the maximum number of active morph targets. |
| 25 | const MaxActiveMorphTargets = 8 |
nothing calls this directly
no outgoing calls
no test coverage detected