00001 #pragma once
00002
00003
00005 struct Vec2
00006 {
00007 float x,y;
00008 };
00009
00011 struct Vec3
00012 {
00013 float x,y,z;
00014 };
00015
00017 struct Vec4
00018 {
00019 float x,y,z,w;
00020 };
00021
00023 struct Vec4_byte
00024 {
00025 BYTE x,y,z,w;
00026 };
00027
00028 struct Vec2_int
00029 {
00030 int x,y;
00031 };
00032
00033
00034
00035 struct Vertex_GouraudPolygon
00036 {
00037 Vec3 Pos;
00038 Vec4 Color;
00039 Vec4 Fog;
00040 Vec2 TexCoord;
00041 DWORD flags;
00042 };
00043
00044 struct Vertex_ComplexSurface
00045 {
00046 Vec3 Pos;
00047 Vec2 TexCoord[5];
00048 DWORD flags;
00049 };
00050
00051 struct Vertex_Tile
00052 {
00053 Vec4 XYWH;
00054 Vec4 UVWH;
00055 Vec4 Color;
00056 float z;
00057 DWORD flags;
00058 };
00059
00060 struct Vertex_FogSurface
00061 {
00062 Vec3 Pos;
00063 Vec4 Color;
00064 DWORD flags;
00065 char padding[24];
00066 };
00067
00068 struct Vertex_Simple
00069 {
00070 Vec3 Pos;
00071
00072 };