godot/scene/resources
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
..
default_theme [3.x] Don't apply scale to autohide theme property 2023-04-12 17:45:27 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
animation.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_stream_sample.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_stream_sample.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
bit_map.cpp Fix size error in `BitMap.opaque_to_polygons` 2023-04-28 19:03:49 +02:00
bit_map.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
box_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
box_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
capsule_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
capsule_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
capsule_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
capsule_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
circle_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
circle_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
concave_polygon_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
concave_polygon_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
concave_polygon_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
concave_polygon_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
convex_polygon_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
convex_polygon_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
convex_polygon_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
convex_polygon_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
curve.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
curve.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
cylinder_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
cylinder_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
dynamic_font.cpp Batching - Add MultiRect command 2023-03-10 10:58:04 +00:00
dynamic_font.h Batching - Add MultiRect command 2023-03-10 10:58:04 +00:00
environment.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
environment.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
font.cpp Batching - Add MultiRect command 2023-03-10 10:58:04 +00:00
font.h Batching - Add MultiRect command 2023-03-10 10:58:04 +00:00
gradient.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
gradient.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
height_map_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
height_map_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
line_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
line_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
material.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
material.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh.cpp Merge pull request #69723 from lawnjelly/surface_tool_revamp 2023-04-17 17:25:30 +02:00
mesh.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh_data_tool.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh_data_tool.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh_library.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
mesh_library.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
multimesh.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
multimesh.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_mesh.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_mesh.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
occluder_shape.cpp Improve error messages and classref for occluders and portals 2023-01-24 14:05:48 +00:00
occluder_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
occluder_shape_polygon.cpp Improve error messages and classref for occluders and portals 2023-01-24 14:05:48 +00:00
occluder_shape_polygon.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
packed_scene.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
packed_scene.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
particles_material.cpp Merge pull request #70717 from Calinou/particles-tweak-animation-offset-property-hint-3.x 2023-01-11 11:57:38 +01:00
particles_material.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_material.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_material.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
plane_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
plane_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
polygon_path_finder.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
polygon_path_finder.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
primitive_meshes.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
primitive_meshes.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
ray_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
ray_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
rectangle_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
rectangle_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
resource_format_text.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
resource_format_text.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
segment_shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
segment_shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shader.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shader.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shape_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
shape_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
skin.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
skin.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
sky.cpp Make acos and asin safe 2023-05-11 09:51:44 +01:00
sky.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
sphere_shape.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
sphere_shape.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
style_box.cpp Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices 2023-01-22 07:09:48 -08:00
style_box.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
surface_tool.cpp Merge pull request #69723 from lawnjelly/surface_tool_revamp 2023-04-17 17:25:30 +02:00
surface_tool.h Merge pull request #69723 from lawnjelly/surface_tool_revamp 2023-04-17 17:25:30 +02:00
text_file.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
text_file.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
texture.cpp Multirect - Fix refining regions for all derived Textures 2023-05-08 14:48:46 +01:00
texture.h Multirect - Fix refining regions for all derived Textures 2023-05-08 14:48:46 +01:00
theme.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
theme.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
tile_set.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
tile_set.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
video_stream.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_shader.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_shader.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_shader_nodes.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_shader_nodes.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
world.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
world.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
world_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
world_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00