GLSharp.Util.Matrix4X4.Copy C# (CSharp) Method

Copy() public method

public Copy ( Matrix4X4 other ) : void
other Matrix4X4
return void
        public void Copy(Matrix4X4 other)
        {
            other.Elements[0] = this.Elements[0];
            other.Elements[1] = this.Elements[1];
            other.Elements[2] = this.Elements[2];
            other.Elements[3] = this.Elements[3];
            other.Elements[4] = this.Elements[4];
            other.Elements[5] = this.Elements[5];
            other.Elements[6] = this.Elements[6];
            other.Elements[7] = this.Elements[7];
            other.Elements[8] = this.Elements[8];
            other.Elements[9] = this.Elements[9];
            other.Elements[10] = this.Elements[10];
            other.Elements[11] = this.Elements[11];
            other.Elements[12] = this.Elements[12];
            other.Elements[13] = this.Elements[13];
            other.Elements[14] = this.Elements[14];
            other.Elements[15] = this.Elements[15];
        }