Public Member Functions | Public Attributes

sp::tool::LightmapGen::SModel Struct Reference

#include <spLightmapGeneratorStructs.hpp>

List of all members.

Public Member Functions

 SModel (scene::Mesh *ObjMesh, bool DefStayAlone, const std::vector< std::vector< f32 > > &InitTrianglesDensity)
 ~SModel ()
void partitionMesh (const dim::size2di &MaxLightmapSize, f32 DefaultDensity)
void createAxles ()
void linkAxisTriangles (const s32 Axis)
void buildFaces (scene::Mesh *Mesh, const dim::size2di &MaxLightmapSize)

Public Attributes

scene::MeshMesh
SAxisData Axles [6]
f32 DefaultDensity
dim::matrix4f Matrix
dim::matrix4f MatrixInv
dim::matrix4f NormalMatrix
bool StayAlone
std::vector< std::vector< f32 > > TrianglesDensity
std::vector< std::vector
< STriangle * > > 
Triangles

Constructor & Destructor Documentation

sp::tool::LightmapGen::SModel::SModel ( scene::Mesh ObjMesh,
bool  DefStayAlone,
const std::vector< std::vector< f32 > > &  InitTrianglesDensity 
)
sp::tool::LightmapGen::SModel::~SModel (  ) 

Member Function Documentation

void sp::tool::LightmapGen::SModel::buildFaces ( scene::Mesh Mesh,
const dim::size2di MaxLightmapSize 
)
void sp::tool::LightmapGen::SModel::createAxles (  ) 
void sp::tool::LightmapGen::SModel::linkAxisTriangles ( const s32  Axis  ) 
void sp::tool::LightmapGen::SModel::partitionMesh ( const dim::size2di MaxLightmapSize,
f32  DefaultDensity 
)

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines