Public Member Functions | Static Public Member Functions | Public Attributes

sp::tool::LightmapGen::SVertex Struct Reference

#include <spLightmapGeneratorStructs.hpp>

List of all members.

Public Member Functions

 SVertex ()
 SVertex (const SModel *Model, const u32 VertexSurface, const u32 VertexIndex)
 ~SVertex ()
bool adjacency (const STriangle &OpTriangle) const
void scaleProj (const dim::size2df &Scale)
dim::point2df getMapCoord (const dim::size2di &MaxLightmapSize) const

Static Public Member Functions

static dim::vector3df getVectorColor (const video::color &Color)

Public Attributes

u32 Surface
u32 Index
dim::vector3df Position
dim::vector3df Normal
dim::point2df TexCoord [MAX_COUNT_OF_TEXTURES]
dim::point2di LMapCoord
video::color Color

Constructor & Destructor Documentation

sp::tool::LightmapGen::SVertex::SVertex (  ) 
sp::tool::LightmapGen::SVertex::SVertex ( const SModel Model,
const u32  VertexSurface,
const u32  VertexIndex 
)
sp::tool::LightmapGen::SVertex::~SVertex (  ) 

Member Function Documentation

bool sp::tool::LightmapGen::SVertex::adjacency ( const STriangle OpTriangle  )  const
dim::point2df sp::tool::LightmapGen::SVertex::getMapCoord ( const dim::size2di MaxLightmapSize  )  const
static dim::vector3df sp::tool::LightmapGen::SVertex::getVectorColor ( const video::color Color  )  [static]
void sp::tool::LightmapGen::SVertex::scaleProj ( const dim::size2df Scale  ) 

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