Path Tracer
Public Attributes | List of all members
MeshWithSmoothingGroups< T > Struct Template Reference

#include <SmoothingGroups.h>

Public Attributes

std::vector< aiVector3DmPositions
 Vertex positions.
 
std::vector< T > mFaces
 Face lists.
 
std::vector< aiVector3DmNormals
 List of normal vectors.
 

Detailed Description

template<class T>
struct MeshWithSmoothingGroups< T >

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.


The documentation for this struct was generated from the following file: