public Transformation Translate(float x, float y, float z) { Vector translate = new Vector(x, y, z); Transformation tempTrans = new Transformation(this); tempTrans.Vector += tempTrans.Matrix * translate; return tempTrans; }
public Vector Trasnform(Transformation trans) { Vector tempVec = new Vector(this); tempVec = trans.Matrix * tempVec; return tempVec; }
public Color(Color copy) { this._vector = new Vector(copy._vector); }
public Vector(Vector copy) : this(copy.X, copy.Y, copy.Z) { }
public Color(float r, float g, float b) { this._vector = new Vector(r, g, b); }