Beispiel #1
0
 public VertexPNT(float x, float y, float z, float nx, float ny, float nz, float u, float v)
 {
     Position = new Vector3(x, y, z);
     Normal = new Vector3(nx, ny, nz);
     Tex = new Vector2(u, v);
 }
Beispiel #2
0
 public VertexPN(float x, float y, float z, float nx, float ny, float nz)
 {
     Position = new Vector3(x, y, z);
     Normal = new Vector3(nx, ny, nz);
 }
Beispiel #3
0
 public VertexPNT(float x, float y, float z, float nx, float ny, float nz, float u, float v)
 {
     Position = new Vector3(x, y, z);
     Normal   = new Vector3(nx, ny, nz);
     Tex      = new Vector2(u, v);
 }
Beispiel #4
0
 public VertexPN(float x, float y, float z, float nx, float ny, float nz)
 {
     Position = new Vector3(x, y, z);
     Normal   = new Vector3(nx, ny, nz);
 }
Beispiel #5
0
 public VertexPC(float x, float y, float z, uint col)
 {
     Position = new Vector3(x, y, z);
     Color = col;
 }
Beispiel #6
0
 public VertexPC(float x, float y, float z, uint col)
 {
     Position = new Vector3(x, y, z);
     Color    = col;
 }