Ejemplo n.º 1
0
 public Vertex(Vector3 position, Vector3 normal, Color color, Vector2 uv, Mesh.SkinningVertex skin)
 {
     this.Position = position;
     this.Normal   = normal;
     this.Color    = color;
     this.UV       = uv;
     this.Skin     = skin;
 }
Ejemplo n.º 2
0
 public Vertex(Vector3 position, Vector3 normal, Color color)
 {
     this.Position = position;
     this.Normal   = normal;
     this.Color    = color;
     this.UV       = Vector2.Zero;
     this.Skin     = new Mesh.SkinningVertex();
 }