public ParametricPoint() { x = "0"; y = "0"; z = "0"; u = "0"; v = "0"; gradient = new ParametricColor(); }
public ParametricPoint(DPOW.Reader.Point originalPoint) { x = originalPoint.X.ToString(); y = originalPoint.Y.ToString(); z = originalPoint.Z.ToString(); u = originalPoint.U.ToString(); v = originalPoint.V.ToString(); gradient = new ParametricColor(originalPoint.Color); }
public ParametricImage(DPOW.Reader.Image originalImage) { color = new ParametricColor(originalImage.Color); center = new ParametricPoint(originalImage.Position); points = new ParametricPoint[originalImage.Points.Length]; for (int i = 0; i < points.Length; i++) { points[i] = new ParametricPoint(originalImage.Points[i]); } visible = originalImage.Visible; gradient = originalImage.isGradient; texid = originalImage.TextureId; }