diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-05 13:32:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 13:32:08 +0200 |
commit | 6f7d45d2109246e3888fc2b16136915e6fec89fd (patch) | |
tree | ce03eee0b483c299863927e7c75390dead4d9540 /servers/rendering | |
parent | 537d8899e9cb97b2ba0b154496dcdd295163c4bd (diff) | |
parent | 8acd13a456050ded00f0f264ff0aa91a304f6c54 (diff) |
Merge pull request #45364 from madmiraal/rename-quat
Rename Quat to Quaternion
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_storage_rd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.cpp b/servers/rendering/renderer_rd/renderer_storage_rd.cpp index 672ef0c517..8888b2c92e 100644 --- a/servers/rendering/renderer_rd/renderer_storage_rd.cpp +++ b/servers/rendering/renderer_rd/renderer_storage_rd.cpp @@ -1878,8 +1878,8 @@ _FORCE_INLINE_ static void _fill_std140_variant_ubo_value(ShaderLanguage::DataTy gui[1] = v.position.y; gui[2] = v.size.x; gui[3] = v.size.y; - } else if (value.get_type() == Variant::QUAT) { - Quat v = value; + } else if (value.get_type() == Variant::QUATERNION) { + Quaternion v = value; gui[0] = v.x; gui[1] = v.y; |