You've already forked godot
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user