public VertexTransformedPositionTexture(Point4D position, Point2D textureCoordinate)
 {
     Position = position;
     TextureCoordinate = textureCoordinate;
 }
 public VertexPositionNormalTexture(Point3D position, Vector3D normal, Point2D textureCoordinate)
 {
     Position = position;
     Normal = normal;
     TextureCoordinate = textureCoordinate;
 }
Пример #3
0
 public Point3D(Point2D xy, float z)
     : this(xy.X, xy.Y, z)
 {
 }
 protected void AddVertex(Point3D position, Vector3D normal, Point2D textureCoordinate)
 {
     AddVertex(position, normal);
     TextureCoordinates.Add(textureCoordinate);
 }