AddMaterial adds a material for the specified subset of vertices.
(imat material.IMaterial, start, count int)
| 57 | |
| 58 | // AddMaterial adds a material for the specified subset of vertices. |
| 59 | func (m *Mesh) AddMaterial(imat material.IMaterial, start, count int) { |
| 60 | |
| 61 | m.Graphic.AddMaterial(m, imat, start, count) |
| 62 | } |
| 63 | |
| 64 | // AddGroupMaterial adds a material for the specified geometry group. |
| 65 | func (m *Mesh) AddGroupMaterial(imat material.IMaterial, gindex int) { |
no outgoing calls
no test coverage detected