Merge pull request #3346 from SaracenOne/quaternion_uniform_assignment
Quaternion uniform assignment.
This commit is contained in:
commit
0860f3c196
1 changed files with 5 additions and 0 deletions
|
@ -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: {
|
||||
|
||||
|
|
Loading…
Reference in a new issue