Path Tracer
|
#include <SmoothingGroups.h>
Public Attributes | |
std::vector< aiVector3D > | mPositions |
Vertex positions. | |
std::vector< T > | mFaces |
Face lists. | |
std::vector< aiVector3D > | mNormals |
List of normal vectors. | |
Helper structure representing a mesh whose faces have smoothing groups assigned. This allows us to reuse the code for normal computations from smoothings groups for several loaders (3DS, ASE). All of them use face structures which inherit from FaceWithSmoothingGroup, but as they add extra members and need to be copied by value we need to use a template here.