port from perforce
This commit is contained in:
30
evoke-64k/trunk/ev10/BinMeshData.h
Normal file
30
evoke-64k/trunk/ev10/BinMeshData.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef BINMESHDATA_HEADER
|
||||
#define BINMESHDATA_HEADER
|
||||
|
||||
struct BinVertex
|
||||
{
|
||||
float m_Pos[ 3 ];
|
||||
};
|
||||
|
||||
struct BinMesh
|
||||
{
|
||||
int m_PrimitiveCount;
|
||||
unsigned char* m_pTopology;
|
||||
BinVertex* m_pVertex;
|
||||
|
||||
void Set( int PrimitiveCount,
|
||||
unsigned char* Vertex,
|
||||
unsigned char* Topology )
|
||||
{
|
||||
m_PrimitiveCount= PrimitiveCount;
|
||||
m_pVertex= (BinVertex*)Vertex;
|
||||
m_pTopology= Topology;
|
||||
}
|
||||
|
||||
static const unsigned char c_FinishPoly= 255;
|
||||
static const unsigned char c_FarVertex= 254;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user