Public Member Functions | Public Attributes

sp::tool::LightmapGen::SFace Struct Reference

#include <spLightmapGeneratorStructs.hpp>

List of all members.

Public Member Functions

 SFace (SAxisData *FaceAxis)
 ~SFace ()
void computeDensityAverage (f32 DefaultDensity)
void updateVertexProjection (const dim::size2di &MaxLightmapSize)
void resizeVertexProjection (const dim::size2di &NewSize)
bool adjacency (const SFace &OpFace) const
void build (scene::Mesh *Mesh, const dim::size2di &MaxLightmapSize)

Public Attributes

f32 Density
u32 Surface
dim::size2di Size
std::list< STriangleTriangles
SLightmapLightmap
SLightmapRootLightmap
SAxisDataAxis

Constructor & Destructor Documentation

sp::tool::LightmapGen::SFace::SFace ( SAxisData FaceAxis  ) 
sp::tool::LightmapGen::SFace::~SFace (  ) 

Member Function Documentation

bool sp::tool::LightmapGen::SFace::adjacency ( const SFace OpFace  )  const
Todo:
This is incomplete and very slow!
void sp::tool::LightmapGen::SFace::build ( scene::Mesh Mesh,
const dim::size2di MaxLightmapSize 
)
void sp::tool::LightmapGen::SFace::computeDensityAverage ( f32  DefaultDensity  ) 
void sp::tool::LightmapGen::SFace::resizeVertexProjection ( const dim::size2di NewSize  ) 
void sp::tool::LightmapGen::SFace::updateVertexProjection ( const dim::size2di MaxLightmapSize  ) 

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