Esempio n. 1
0
void Material::RotateTextureMatrix(IvVector3& axis, float angle, int idx)
{
	//mUseTextureMatrix = true;
	IvMatrix44 m;
	m.Rotation(axis, angle);
	mTextureMatrices[idx] *= m;
}
Esempio n. 2
0
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;
}
Esempio n. 3
0
void Material::RotateTextureMatrix(IvQuat& rot, int idx)
{
	//mUseTextureMatrix = true;
	IvMatrix44 m;
	m.Rotation(rot);
	mTextureMatrices[idx] *= m;
}