mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 15:41:30 +00:00
2006cdc7bb
AngleOffset, PitchOffset and RollOffset MODELDEF properties are now supported. Fixed a crash when editor tries to display a model for an actor without a valid sprite in Visual mode. Fixed a possible crash when MODELDEF is reloaded from 2d-mode. Fixed several things in Doom2_things.cfg. UDMF Controls plugin: Fixed several bugs in plugin's sliders logic.
25 lines
No EOL
715 B
C#
25 lines
No EOL
715 B
C#
using System.Collections.Generic;
|
|
using SlimDX;
|
|
using SlimDX.Direct3D9;
|
|
using CodeImp.DoomBuilder.Geometry;
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.GZBuilder.MD3
|
|
{
|
|
internal class GZModel {
|
|
internal List<Mesh> Meshes;
|
|
internal List<Texture> Textures;
|
|
internal byte NUM_MESHES; //can't be greater than 255, can it?
|
|
internal Vector3[] BoundingBox;
|
|
internal List<IndexBuffer> Indeces2D;
|
|
internal List<short> NumIndeces2D;
|
|
|
|
internal GZModel() {
|
|
Meshes = new List<Mesh>();
|
|
Textures = new List<Texture>();
|
|
Indeces2D = new List<IndexBuffer>();
|
|
NumIndeces2D = new List<short>();
|
|
}
|
|
}
|
|
|
|
} |