Example #1
0
    /// <summary>
    /// Post multiplies a scaling matrix defined by the vector s
    /// </summary>
    public void Scale(SLVec3f s)
    {
        SLMat4f S = new SLMat4f();

        S.Scaling(s);
        Multiply(S);
    }
Example #2
0
    /// <summary>
    /// Post multiplies a scaling matrix defined by the vector [sx,sy,sz]
    /// </summary>
    public void Scale(float sx, float sy, float sz)
    {
        SLMat4f S = new SLMat4f();

        S.Scaling(sx, sy, sz);
        Multiply(S);
    }