|
Enzo
|
Read accessor for per-face normals. More...
#include <Mesh.h>
Public Member Functions | |
| Vector3 | operator[] (Offset faceOffset) const |
Friends | |
| class | Mesh |
Read accessor for per-face normals.
Built by Mesh::getFaceNormal. The constructor resolves the Normal face attribute once. If present, operator[] reads it. If absent and precompute was true, operator[] reads a buffer filled at construction. If absent and precompute was false, operator[] runs Newell's method on the requested face's points.