You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Use real_t in non-physics 2D nodes
This commit is contained in:
@@ -51,11 +51,11 @@ void ParallaxBackground::_camera_moved(const Transform2D &p_transform, const Poi
|
||||
set_scroll_offset(p_transform.get_origin());
|
||||
}
|
||||
|
||||
void ParallaxBackground::set_scroll_scale(float p_scale) {
|
||||
void ParallaxBackground::set_scroll_scale(real_t p_scale) {
|
||||
scale = p_scale;
|
||||
}
|
||||
|
||||
float ParallaxBackground::get_scroll_scale() const {
|
||||
real_t ParallaxBackground::get_scroll_scale() const {
|
||||
return scale;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user