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

Struct MorphGeometry

geometry/morph.go:16–22  ·  view source on GitHub ↗

MorphGeometry represents a base geometry and its morph targets.

Source from the content-addressed store, hash-verified

14
15// MorphGeometry represents a base geometry and its morph targets.
16type 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.
25const MaxActiveMorphTargets = 8

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected