Example #1
0
 public Vertex(float x, float y, float z, float w)
 {
     Position = new XYZW(x, y, z, w);
 }
Example #2
0
 public Vertex(float x, float y, float z, float r, float g, float b, float a)
 {
     Position = new XYZW(x, y, z, 1.0f);
     Color    = new XYZW(r, g, b, a);
 }
Example #3
0
 public Vertex(XYZW position)
 {
     Position = position ?? throw new ArgumentNullException(nameof(position));
 }