예제 #1
0
 public Vertex(Vector modelPosition, Vector normal, Point textureMapping, Color color)
 {
     _position = modelPosition;
       _normal = normal;
       _mapping = textureMapping;
      _color = color;
 }
예제 #2
0
 public Vertex()
 {
     _position = new Vector(0, 0, 0);
       _normal = new Vector(0, 0, 0);
       _mapping = new Point(0, 0);
       _color = new Color(0, 0, 0, 0);
 }