1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Clean up Basis from Euler code

This commit is contained in:
Aaron Franke
2022-09-24 18:19:55 -05:00
parent e73ff0e961
commit 7f9a8c99c9
10 changed files with 15 additions and 18 deletions

View File

@@ -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 {