Vector theVector; // Vector object that this enumerato refers to #endregion Fields #region Constructors public VectorEnumerator(Vector theVector) { this.theVector = theVector; location = -1; }
public Vector(Vector rhs) { x = rhs.x; y = rhs.y; z = rhs.z; }
public static Vector operator +(Vector lhs, Vector rhs) { Vector Result = new Vector(lhs); Result.x += rhs.x; Result.y += rhs.y; Result.z += rhs.z; return Result; }