AddGroup adds a geometry group (for multimaterial).
(start, count, matIndex int)
| 88 | |
| 89 | // AddGroup adds a geometry group (for multimaterial). |
| 90 | func (g *Geometry) AddGroup(start, count, matIndex int) *Group { |
| 91 | |
| 92 | g.groups = append(g.groups, Group{start, count, matIndex, ""}) |
| 93 | return &g.groups[len(g.groups)-1] |
| 94 | } |
| 95 | |
| 96 | // AddGroupList adds the specified list of groups to this geometry. |
| 97 | func (g *Geometry) AddGroupList(groups []Group) { |
no outgoing calls
no test coverage detected