Exemple #1
0
    /// <summary>
    /// Returns the transposed of the matrix
    /// </summary>
    public SLMat3f Transposed()
    {
        SLMat3f t = new SLMat3f(this);

        t.Transpose();
        return(t);
    }
Exemple #2
0
    /// <summary>
    /// Returns the inverse transposed linear 3x3 submatrix
    /// that can be used as a normal matrix.
    /// </summary>
    public SLMat3f InverseTransposed()
    {
        SLMat3f it = new SLMat3f(this.Mat3());

        it.Invert();
        it.Transpose();
        return(it);
    }