void Material::RotateTextureMatrix(IvVector3& axis, float angle, int idx) { //mUseTextureMatrix = true; IvMatrix44 m; m.Rotation(axis, angle); mTextureMatrices[idx] *= m; }
void Material::RotateTextureMatrix(float x_angle, float y_angle, float z_angle, int idx) { //mUseTextureMatrix = true; IvMatrix44 m; m.Rotation(x_angle, y_angle, z_angle); mTextureMatrices[idx] *= m; }
void Material::RotateTextureMatrix(IvQuat& rot, int idx) { //mUseTextureMatrix = true; IvMatrix44 m; m.Rotation(rot); mTextureMatrices[idx] *= m; }