SetIndices sets the indices array for this geometry.
(indices math32.ArrayU32)
| 115 | |
| 116 | // SetIndices sets the indices array for this geometry. |
| 117 | func (g *Geometry) SetIndices(indices math32.ArrayU32) { |
| 118 | |
| 119 | g.indices = indices |
| 120 | g.updateIndices = true |
| 121 | g.boundingBoxValid = false |
| 122 | g.boundingSphereValid = false |
| 123 | } |
| 124 | |
| 125 | // Indices returns the indices array for this geometry. |
| 126 | func (g *Geometry) Indices() math32.ArrayU32 { |
no outgoing calls
no test coverage detected