pandemonium_engine/scene/3d
lawnjelly 22d90711da 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-06-11 08:41:42 +02:00
..
area.cpp
area.h
audio_stream_player_3d.cpp
audio_stream_player_3d.h
camera.cpp
camera.h
collision_object.cpp
collision_object.h
collision_polygon.cpp
collision_polygon.h
collision_shape.cpp
collision_shape.h
cpu_particles.cpp
cpu_particles.h
cull_instance.cpp
cull_instance.h
immediate_geometry.cpp
immediate_geometry.h
importer_mesh_instance_3d.cpp
importer_mesh_instance_3d.h
interpolated_camera.cpp
interpolated_camera.h
label_3d.cpp
label_3d.h
light.cpp
light.h
listener.cpp
listener.h
mesh_instance.cpp
mesh_instance.h
multimesh_instance.cpp
multimesh_instance.h
navigation_agent.cpp
navigation_agent.h
navigation_geometry_parser_3d.cpp
navigation_geometry_parser_3d.h
navigation_link_3d.cpp
navigation_link_3d.h
navigation_mesh_instance.cpp
navigation_mesh_instance.h
navigation_obstacle.cpp
navigation_obstacle.h
navigation.cpp
navigation.h
occluder.cpp
occluder.h
path.cpp
path.h
physics_body.cpp
physics_body.h
physics_joint.cpp
physics_joint.h
portal.cpp
portal.h
position_3d.cpp
position_3d.h
proximity_group.cpp
proximity_group.h
ray_cast.cpp
ray_cast.h
reflection_probe.cpp
reflection_probe.h
remote_transform.cpp
remote_transform.h
room_group.cpp
room_group.h
room_manager.cpp
room_manager.h
room.cpp
room.h
SCsub
shape_cast.cpp
shape_cast.h
soft_body.cpp
soft_body.h
spatial_velocity_tracker.cpp
spatial_velocity_tracker.h
spatial.cpp
spatial.h
spring_arm.cpp
spring_arm.h
sprite_3d.cpp
sprite_3d.h
vehicle_body.cpp
vehicle_body.h
visibility_notifier.cpp
visibility_notifier.h
visual_instance.cpp
visual_instance.h
world_environment_3d.cpp
world_environment_3d.h