summaryrefslogtreecommitdiff
path: root/servers/rendering_server.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-08-12 09:07:47 -0500
committerAaron Franke <arnfranke@yahoo.com>2021-08-12 11:35:31 -0500
commit03e2544d50b73a56907694fc45cb82ad11c74a95 (patch)
treef7a516477af7169d5ecb4745d29b57c757a5584e /servers/rendering_server.h
parentc89ad92c96a9b99d8550acda47e71948dffec1cd (diff)
Use real_t and double where appropriate in Particles
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r--servers/rendering_server.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h
index 6b789a6121..545270dcd9 100644
--- a/servers/rendering_server.h
+++ b/servers/rendering_server.h
@@ -687,11 +687,11 @@ public:
virtual void particles_collision_set_collision_type(RID p_particles_collision, ParticlesCollisionType p_type) = 0;
virtual void particles_collision_set_cull_mask(RID p_particles_collision, uint32_t p_cull_mask) = 0;
- virtual void particles_collision_set_sphere_radius(RID p_particles_collision, float p_radius) = 0; //for spheres
+ virtual void particles_collision_set_sphere_radius(RID p_particles_collision, real_t p_radius) = 0; //for spheres
virtual void particles_collision_set_box_extents(RID p_particles_collision, const Vector3 &p_extents) = 0; //for non-spheres
- virtual void particles_collision_set_attractor_strength(RID p_particles_collision, float p_strength) = 0;
- virtual void particles_collision_set_attractor_directionality(RID p_particles_collision, float p_directionality) = 0;
- virtual void particles_collision_set_attractor_attenuation(RID p_particles_collision, float p_curve) = 0;
+ virtual void particles_collision_set_attractor_strength(RID p_particles_collision, real_t p_strength) = 0;
+ virtual void particles_collision_set_attractor_directionality(RID p_particles_collision, real_t p_directionality) = 0;
+ virtual void particles_collision_set_attractor_attenuation(RID p_particles_collision, real_t p_curve) = 0;
virtual void particles_collision_set_field_texture(RID p_particles_collision, RID p_texture) = 0; //for SDF and vector field, heightfield is dynamic
virtual void particles_collision_height_field_update(RID p_particles_collision) = 0; //for SDF and vector field