Beispiel #1
0
 /// <summary>
 /// Creates a new vertex
 /// </summary>
 public Vertex(Vector3 position, Color4 color, Vector2 texCoord1, Vector3 normal)
 {
     m_geoData       = new GeometryData(position, normal, color);
     m_textureData   = new TextureData(texCoord1);
     m_animationData = new AnimationData();
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new vertex
 /// </summary>
 public Vertex(Vector3 position, Color4 color)
 {
     m_geoData       = new GeometryData(position, color);
     m_textureData   = new TextureData();
     m_animationData = new AnimationData();
 }