📄 md2format.h
字号:
#ifndef _MD2FORMAT_H_
#define _MD2FORMAT_H_
#include "../global.h"
#include "../math/point.h"
struct MD2TexInd
{
short x;
short y;
};
struct MD2FramePoint
{
byte v[3];
byte normalIndex;
};
struct MD2Frame
{
GcPoint3 scale;
GcPoint3 translate;
char name[16];
MD2FramePoint fp[1];
};
struct MD2Tri
{
ushort triInd[3];
ushort texCrdInd[3];
};
struct MD2Header
{
int ident;
int version;
int skinWidth;
int skinHeight;
int frameSize;
int numSkins;
int numVertices;
int numTexCoords;
int numTris;
int numGLCmds;
int numFrames;
int offsetSkins;
int offsetTexCoords;
int offsetTris;
int offsetFrames;
int offsetGLCmds;
int offsetEnd;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -