📄 meshstructures.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -