Isle
Loading...
Searching...
No Matches
meshbuilder.cpp File Reference
#include "impl.h"
#include <assert.h>
Include dependency graph for meshbuilder.cpp:

Go to the source code of this file.

Functions

 DECOMP_SIZE_ASSERT (MeshBuilder, 0x04)
 
 DECOMP_SIZE_ASSERT (MeshBuilderImpl, 0x08)
 
Result MeshSetTextureMappingMode (MeshImpl::MeshData *pMesh, TextureMappingMode mode)
 
Result CreateMesh (IDirect3DRMMesh *pD3DRM, unsigned long faceCount, unsigned long vertexCount, float(*pPositions)[3], float(*pNormals)[3], float(*pTextureCoordinates)[2], unsigned long(*pFaceIndices)[3], unsigned long(*pTextureIndices)[3], ShadingModel shadingModel, MeshImpl::MeshDataType &rpMesh)
 
Result MeshBuilderGetBoundingBox (IDirect3DRMMesh *pMesh, float min[3], float max[3])
 

Function Documentation

◆ CreateMesh()

Result CreateMesh ( IDirect3DRMMesh *  pD3DRM,
unsigned long  faceCount,
unsigned long  vertexCount,
float(*)  pPositions[3],
float(*)  pNormals[3],
float(*)  pTextureCoordinates[2],
unsigned long(*)  pFaceIndices[3],
unsigned long(*)  pTextureIndices[3],
ShadingModel  shadingModel,
MeshImpl::MeshDataType rpMesh 
)
inline

Definition at line 58 of file meshbuilder.cpp.

◆ DECOMP_SIZE_ASSERT() [1/2]

DECOMP_SIZE_ASSERT ( MeshBuilder  ,
0x04   
)

◆ DECOMP_SIZE_ASSERT() [2/2]

DECOMP_SIZE_ASSERT ( MeshBuilderImpl  ,
0x08   
)

◆ MeshBuilderGetBoundingBox()

Result MeshBuilderGetBoundingBox ( IDirect3DRMMesh *  pMesh,
float  min[3],
float  max[3] 
)
inline

Definition at line 165 of file meshbuilder.cpp.

◆ MeshSetTextureMappingMode()

Result MeshSetTextureMappingMode ( MeshImpl::MeshData pMesh,
TextureMappingMode  mode 
)
inline

Definition at line 48 of file meshbuilder.cpp.