Opentk/Source/Examples/Shapes/Base/VertexStructs.cs
2009-10-24 10:07:43 +00:00

36 lines
742 B
C#

using System;
using OpenTK;
namespace Examples.Shapes
{
public struct VertexT2dN3dV3d
{
public Vector2d TexCoord;
public Vector3d Normal;
public Vector3d Position;
public VertexT2dN3dV3d( Vector2d texcoord, Vector3d normal, Vector3d position )
{
TexCoord = texcoord;
Normal = normal;
Position = position;
}
}
public struct VertexT2fN3fV3f
{
public Vector2 TexCoord;
public Vector3 Normal;
public Vector3 Position;
}
public struct VertexT2hN3hV3h
{
public Vector2h TexCoord;
public Vector3h Normal;
public Vector3h Position;
}
}