| 117 | } |
| 118 | |
| 119 | Vector3f triCenter( const MeshTopology & topology, const VertCoords & points, FaceId f ) |
| 120 | { |
| 121 | Vector3f v0, v1, v2; |
| 122 | getTriPoints( topology, points, f, v0, v1, v2 ); |
| 123 | return ( 1 / 3.0f ) * ( v0 + v1 + v2 ); |
| 124 | } |
| 125 | |
| 126 | UndirectedEdgeScalars edgeLengths( const MeshTopology & topology, const VertCoords & points ) |
| 127 | { |
no test coverage detected