Exemple #1
0
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);
}
Exemple #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);
}