CSG.Vector4D.Add C# (CSharp) Method

Add() public method

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

Usage Example

コード例 #1
0
ファイル: Vector4D.cs プロジェクト: polytronicgr/CSG-BSP
        public Vector4D AddedWith(Vector4D b)
        {
            Vector4D added = new Vector4D(this);

            added.Add(b);
            return(b);
        }
All Usage Examples Of CSG.Vector4D::Add