2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
|
|
* This program is released under GNU General Public License
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Namespaces
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.Rendering
|
|
|
|
{
|
|
|
|
// FlatVertex
|
|
|
|
public struct FlatVertex
|
|
|
|
{
|
|
|
|
// Vertex format
|
2015-06-24 21:21:19 +00:00
|
|
|
public const int Stride = 24; //6 * 4
|
2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
// Members
|
|
|
|
public float x;
|
|
|
|
public float y;
|
|
|
|
public float z;
|
|
|
|
public int c;
|
|
|
|
public float u;
|
|
|
|
public float v;
|
|
|
|
}
|
|
|
|
}
|