summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-27 09:44:21 -0700
committerGitHub <noreply@github.com>2022-10-27 09:44:21 -0700
commit682156e1f0b6fba8debba7c88a0a733e95baaac3 (patch)
treefe68cc8655c4a38a7244f3392149aa79fb254ae1 /scene/resources
parent7904f70dc438a1b0a644b971c2089383ef776d2f (diff)
parent7f9a8c99c93693023a96eb08afd3d9a723663279 (diff)
Merge pull request #66383 from aaronfranke/basis-from-euler
Clean up Basis from Euler code
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp
index ebdaaaa95f..23bd8a4be4 100644
--- a/scene/resources/environment.cpp
+++ b/scene/resources/environment.cpp
@@ -78,7 +78,7 @@ float Environment::get_sky_custom_fov() const {
void Environment::set_sky_rotation(const Vector3 &p_rotation) {
bg_sky_rotation = p_rotation;
- RS::get_singleton()->environment_set_sky_orientation(environment, Basis(p_rotation));
+ RS::get_singleton()->environment_set_sky_orientation(environment, Basis::from_euler(p_rotation));
}
Vector3 Environment::get_sky_rotation() const {