CSG.Vector3D.Subtract C# (CSharp) Method

Subtract() public method

public Subtract ( Vector3D b ) : void
b Vector3D
return void
        public void Subtract(Vector3D b)
        {
            this.X -= b.X;
            this.Y -= b.Y;
            this.Z -= b.Z;
        }

Usage Example

Beispiel #1
0
 public Vector3D SubtractedBy(Vector3D b, Vector3D outVector)
 {
     outVector.Copy(this);
     outVector.Subtract(b);
     return(outVector);
 }
All Usage Examples Of CSG.Vector3D::Subtract