MCPcopy
hub / github.com/g3n/engine / AddGroupList

Method AddGroupList

geometry/geometry.go:97–102  ·  view source on GitHub ↗

AddGroupList adds the specified list of groups to this geometry.

(groups []Group)

Source from the content-addressed store, hash-verified

95
96// AddGroupList adds the specified list of groups to this geometry.
97func (g *Geometry) AddGroupList(groups []Group) {
98
99 for _, group := range groups {
100 g.groups = append(g.groups, group)
101 }
102}
103
104// GroupCount returns the number of geometry groups (for multimaterial).
105func (g *Geometry) GroupCount() int {

Callers 2

newMeshPolylistFunction · 0.95
newMeshTrianglesFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected