| 33 | } |
| 34 | |
| 35 | MeshData MeshData::getNormalsMeshData() const |
| 36 | { |
| 37 | MeshData data(name + "_normals", meshPtr, normalMode == PER_TRIANGLE ? TRIANGLES : POINTS); |
| 38 | data.setColor(normalsColor).setDepthTest(depthTest); |
| 39 | data.normalsLength = (normalsInverted ? -normalsLength : normalsLength); |
| 40 | return data; |
| 41 | } |
| 42 | |
| 43 | MeshData::operator bool() const |
| 44 | { |