godot/scene/3d
lawnjelly 6f8e632848 Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-05-11 09:51:44 +01:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
area.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
area.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
arvr_nodes.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
arvr_nodes.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_stream_player_3d.cpp Merge pull request #70514 from stmSi/fix-editor-hanging-audio-pitch-scale-nan 2023-02-17 12:15:27 +01:00
audio_stream_player_3d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
baked_lightmap.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
baked_lightmap.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
bone_attachment.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
bone_attachment.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
camera.cpp Add error messages for collision exception functions 2023-02-24 00:36:30 +01:00
camera.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
collision_object.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
collision_object.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
collision_polygon.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
collision_polygon.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
collision_shape.cpp Make CollisionShape selection box use shape AABB 2023-01-13 18:19:26 +08:00
collision_shape.h Make CollisionShape selection box use shape AABB 2023-01-13 18:19:26 +08:00
cpu_particles.cpp Merge pull request #70717 from Calinou/particles-tweak-animation-offset-property-hint-3.x 2023-01-11 11:57:38 +01:00
cpu_particles.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
cull_instance.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
cull_instance.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gi_probe.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gi_probe.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
immediate_geometry.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
immediate_geometry.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
interpolated_camera.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
interpolated_camera.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
label_3d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
label_3d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
light.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
light.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
lightmapper.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
lightmapper.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
listener.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
listener.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh_instance.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh_instance.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
multimesh_instance.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
multimesh_instance.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation.cpp Fix navigation related nodes not propagating parent class config warnings 2023-01-30 16:26:42 +01:00
navigation.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_agent.cpp Fix navigation related nodes not propagating parent class config warnings 2023-01-30 16:26:42 +01:00
navigation_agent.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_mesh_instance.cpp Fix navigation related nodes not propagating parent class config warnings 2023-01-30 16:26:42 +01:00
navigation_mesh_instance.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_obstacle.cpp Fix navigation related nodes not propagating parent class config warnings 2023-01-30 16:26:42 +01:00
navigation_obstacle.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
occluder.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
occluder.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
particles.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
particles.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
path.cpp Make acos and asin safe 2023-05-11 09:51:44 +01:00
path.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_body.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_body.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_joint.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_joint.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
portal.cpp Improve error messages and classref for occluders and portals 2023-01-24 14:05:48 +00:00
portal.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
position_3d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
position_3d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
proximity_group.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
proximity_group.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
ray_cast.cpp Add error messages for collision exception functions 2023-02-24 00:36:30 +01:00
ray_cast.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
reflection_probe.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
reflection_probe.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
remote_transform.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
remote_transform.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
room.cpp Improve error messages and classref for occluders and portals 2023-01-24 14:05:48 +00:00
room.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
room_group.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
room_group.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
room_manager.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
room_manager.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shape_cast.cpp Add error messages for collision exception functions 2023-02-24 00:36:30 +01:00
shape_cast.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
skeleton.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
skeleton.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
soft_body.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
soft_body.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
spatial.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
spatial.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
spatial_velocity_tracker.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
spatial_velocity_tracker.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
spring_arm.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
spring_arm.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
sprite_3d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
sprite_3d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
vehicle_body.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
vehicle_body.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visibility_notifier.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visibility_notifier.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_instance.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_instance.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
voxel_light_baker.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
voxel_light_baker.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
world_environment.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
world_environment.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00