Esempio n. 1
0
File: Matrix.cpp Progetto: cn00/MJ
void Matrix::translate(float x, float y, float z, Matrix* dst) const
{
    assert(dst);

    Matrix t;
    createTranslation(x, y, z, &t);
    multiply(*this, t, dst);
}
Esempio n. 2
0
void Mat4::translate(float x, float y, float z, Mat4* dst) const
{
    Mat4 t;
    createTranslation(x, y, z, &t);
    multiply(*this, t, dst);
}