mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #3346 from SaracenOne/quaternion_uniform_assignment
Quaternion uniform assignment.
This commit is contained in:
commit
0860f3c196
@ -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 New Issue
Block a user