* @private * Applies the current transformation matrix to each vertex.
(vertices)
| 29 | * Applies the current transformation matrix to each vertex. |
| 30 | */ |
| 31 | transformVertices(vertices) { |
| 32 | if (!this.hasTransform) return vertices; |
| 33 | |
| 34 | return vertices.map(v => |
| 35 | this.renderer.states.uModelMatrix.multiplyPoint(v) |
| 36 | ); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * @private |
no test coverage detected