Merge pull request #3346 from SaracenOne/quaternion_uniform_assignment

Quaternion uniform assignment.
This commit is contained in:
Rémi Verschelde 2016-01-14 09:17:36 +01:00
commit 0860f3c196

View File

@ -205,6 +205,11 @@ private:
Plane val=p_value;
glUniform4f( p_uniform, val.normal.x,val.normal.y,val.normal.z,val.d );
} break;
case Variant::QUAT: {
Quat val=p_value;
glUniform4f( p_uniform, val.x,val.y,val.z,val.w );
} break;
case Variant::MATRIX32: {