Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
Helper structure representing a mesh whose faces have smoothing groups assigned. More...
#include <SmoothingGroups.h>
Public Attributes | |
std::vector< T > | mFaces |
Face lists. More... | |
std::vector< aiVector3D > | mNormals |
List of normal vectors. More... | |
std::vector< aiVector3D > | mPositions |
Vertex positions. More... | |
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.
std::vector<T> MeshWithSmoothingGroups< T >::mFaces |
Face lists.
std::vector<aiVector3D> MeshWithSmoothingGroups< T >::mNormals |
List of normal vectors.
std::vector<aiVector3D> MeshWithSmoothingGroups< T >::mPositions |
Vertex positions.