Exemple #1
0
 public Vertex(Vector3 Position, Vector3 Normal, UVCoordinate UVCoordinate, RGB VertexColour)
 {
     this.Position     = Position;
     this.Normal       = Normal;
     this.UVCoordinate = UVCoordinate;
     this.VertexColour = VertexColour;
 }
Exemple #2
0
 public Vertex(Vector3 Position, Vector3 Normal, UVCoordinate UVCoordinate)
     : this(Position, Normal, UVCoordinate, new RGB(1.0f, 1.0f, 1.0f))
 {
 }
Exemple #3
0
 public Vertex(Vector3 Position, UVCoordinate UVCoordinate)
     : this(Position, Vector3.Zero, UVCoordinate, new RGB(1.0f, 1.0f, 1.0f))
 {
 }