meshstructures.h
来自「wince 3d tutorial, it has various exampl」· C头文件 代码 · 共 38 行
H
38 行
#ifndef MESH_DEFINITIONS_H
#define MESH_DEFINITIONS_H
//Structure to hold the optimized mesh data for rendering
struct FixedMesh
{
GLshort indexCounter;
GLshort vertexCounter;
GLshort *Indices;
GLfixed *Geometry;
GLfixed *Normals;
GLfixed *TexCoord;
};
//Structure to hold the data readed from the file
struct GenericObjectData
{
char Name[128];
char ParentName[128];
unsigned int *Indices;
float *Geometry;
float *Normals;
float *TexCoord;
unsigned long iC;
unsigned long vC;
};
//GSD file header
struct GSDHeader
{
char id[32];
char version[16];
int numberOfSubObjects;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?