Enzo
Loading...
Searching...
No Matches
enzo::geo::FaceNormalHandle Class Reference

Read accessor for per-face normals. More...

#include <Mesh.h>

Public Member Functions

Vector3 operator[] (Offset faceOffset) const
 

Friends

class Mesh
 

Detailed Description

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.


The documentation for this class was generated from the following files: