CSG.Vector4D.Subtract C# (CSharp) Method

Subtract() public method

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

Usage Example

Example #1
0
        public Vector4D SubtractedBy(Vector4D b)
        {
            Vector4D subtracted = new Vector4D(this);

            subtracted.Subtract(b);
            return(b);
        }
All Usage Examples Of CSG.Vector4D::Subtract