1
0
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:
Aaron Franke
2021-01-29 23:10:32 -05:00
parent ec3f220098
commit 6811a45b59
27 changed files with 340 additions and 337 deletions

View File

@@ -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;
}