コード例 #1
0
ファイル: Double3D.cs プロジェクト: spamarti/wwt-web-client
        public void Transpose()
        {
            Matrix3d that = new Matrix3d();
            that.Set(this);

            this._m12 = that._m21;
            this._m13 = that._m31;
            this._m14 = that._offsetX;
            this._m23 = that._m32;
            this._m24 = that._offsetY;
            this._m34 = that._offsetZ;
            this._m21 = that._m12;
            this._m31 = that._m13;
            this._offsetX = that._m14;
            this._m32 = that._m23;
            this._offsetY = that._m24;
            this._offsetZ = that._m34;
        }
コード例 #2
0
ファイル: Double3D.cs プロジェクト: spamarti/wwt-web-client
 public Matrix3d Clone()
 {
     Matrix3d tmp = new Matrix3d();
     tmp.Set(this);
     return tmp;
 }