2012-04-17 19:13:47 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using SlimDX;
|
|
|
|
|
using SlimDX.Direct3D9;
|
|
|
|
|
using CodeImp.DoomBuilder.Geometry;
|
|
|
|
|
|
|
|
|
|
|
2012-05-21 23:51:32 +00:00
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.MD3
|
2012-04-17 19:13:47 +00:00
|
|
|
|
{
|
|
|
|
|
public class GZModel {
|
|
|
|
|
public List<Mesh> Meshes;
|
|
|
|
|
public List<Texture> Textures;
|
|
|
|
|
public byte NUM_MESHES = 0; //can't be greater than 255, can it?
|
|
|
|
|
public Vector3[] BoundingBox;
|
|
|
|
|
public List<IndexBuffer> Indeces2D;
|
|
|
|
|
public List<short> NumIndeces2D;
|
2012-05-20 00:56:59 +00:00
|
|
|
|
public float Angle = 0; //crappy way to set rotation to md2 models...
|
2012-04-17 19:13:47 +00:00
|
|
|
|
|
|
|
|
|
public GZModel() {
|
|
|
|
|
Meshes = new List<Mesh>();
|
|
|
|
|
Textures = new List<Texture>();
|
|
|
|
|
Indeces2D = new List<IndexBuffer>();
|
|
|
|
|
NumIndeces2D = new List<short>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|