godot/scene/resources
Yaohua Xiong 69f84563a3 Fix Curve3D::get_closest_point() broken
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem.

The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true.

The out dated document for `get_closest_point()` is also updated.
2022-12-03 17:01:03 +08:00
..
default_theme ImageLoaderSVG: Improve error reporting 2022-11-23 13:27:31 +01:00
animation_library.cpp Add animation_changed signal to AnimationLibrary 2022-11-21 15:39:03 -05:00
animation_library.h Add animation_changed signal to AnimationLibrary 2022-11-21 15:39:03 -05:00
animation.cpp Refactor process of animation to retrive keys more exactly 2022-12-01 22:07:47 +09:00
animation.h Refactor process of animation to retrive keys more exactly 2022-12-01 22:07:47 +09:00
audio_stream_wav.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
audio_stream_wav.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
bit_map.cpp BitMap polygon code cleanup 2022-11-22 10:00:09 +01:00
bit_map.h Fix polygon generation in BitMap 2022-11-17 10:31:14 +01:00
bone_map.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
bone_map.h Add simple auto mapping to BoneMapper 2022-08-23 16:43:33 +09:00
box_shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
box_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
camera_attributes.cpp Fix inspector not showing name for LabelSettings.font 2022-11-25 12:48:37 +08:00
camera_attributes.h Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
canvas_item_material.cpp Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
canvas_item_material.h Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
capsule_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
capsule_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
capsule_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
capsule_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
circle_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
circle_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
concave_polygon_shape_2d.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
concave_polygon_shape_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
concave_polygon_shape_3d.cpp Add a new HashSet template 2022-05-20 22:40:38 +02:00
concave_polygon_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
convex_polygon_shape_2d.cpp Restore antialiasing for draw_line 2022-04-12 13:03:56 +03:00
convex_polygon_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
convex_polygon_shape_3d.cpp Optimize Convex Collision 2022-10-13 19:07:53 +02:00
convex_polygon_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
curve.cpp Fix Curve3D::get_closest_point() broken 2022-12-03 17:01:03 +08:00
curve.h Refactor Curve3D::_bake() method 2022-11-24 10:52:06 +08:00
cylinder_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
cylinder_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
environment.cpp Clean up Basis from Euler code 2022-10-21 17:54:49 -05:00
environment.h Merge pull request #60185 from Calinou/environment-fog-and-sky-affect 2022-09-01 23:52:34 +02:00
fog_material.cpp Tweak FogVolume density property to allow sliding to negative values 2022-09-26 15:44:30 +02:00
fog_material.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
font.cpp Merge pull request #69008 from akien-mga/property-hint-array-type-resource-simplify 2022-11-25 19:29:05 +01:00
font.h Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0 2022-08-26 11:59:07 +02:00
gradient.cpp Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
gradient.h Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
height_map_shape_3d.cpp Improve range property hints for various collision shapes 2022-03-26 16:20:30 +01:00
height_map_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
immediate_mesh.cpp Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
immediate_mesh.h Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
importer_mesh.cpp Use a more specific type for Mesh create_(convex|trimesh)_shape 2022-11-25 11:43:11 -06:00
importer_mesh.h Use a more specific type for Mesh create_(convex|trimesh)_shape 2022-11-25 11:43:11 -06:00
label_settings.cpp Fix inspector not showing name for LabelSettings.font 2022-11-25 12:48:37 +08:00
label_settings.h Change LabelSettings default values to match default theme. 2022-08-01 13:33:06 +03:00
material.cpp Simplify GDVIRTUAL_REQUIRED_CALL calls 2022-11-30 18:36:57 +01:00
material.h Rename remaining "*_enable" to "*_enabled" 2022-09-21 22:47:46 +02:00
mesh_data_tool.cpp Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
mesh_data_tool.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
mesh_library.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
mesh_library.h Clean up mesh include code and comments 2022-08-20 13:24:40 -05:00
mesh.cpp Simplify GDVIRTUAL_REQUIRED_CALL calls 2022-11-30 18:36:57 +01:00
mesh.h Use a more specific type for Mesh create_(convex|trimesh)_shape 2022-11-25 11:43:11 -06:00
multimesh.cpp Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript 2022-08-08 16:36:01 +03:00
multimesh.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
navigation_mesh.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
navigation_mesh.h Remove / Replace old Navigation Debug Visualization 2022-09-07 18:30:35 +02:00
packed_scene.cpp Add PackedScene::reload_from_file() override 2022-11-28 10:23:02 -05:00
packed_scene.h Add PackedScene::reload_from_file() override 2022-11-28 10:23:02 -05:00
particle_process_material.cpp Merge pull request #66349 from A-Lamia/Amount_At_Collision 2022-10-13 09:03:43 +02:00
particle_process_material.h particles: add amount property to sub property collision. 2022-10-13 04:25:18 +11:00
physics_material.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
physics_material.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
polygon_path_finder.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
polygon_path_finder.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
primitive_meshes.cpp Refactor interpolating functions in some classes to use Math class 2022-11-24 20:31:43 +09:00
primitive_meshes.h Add optional UV2 logic for lightmapping to primitive shapes 2022-11-13 19:28:10 +11:00
rectangle_shape_2d.cpp Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
rectangle_shape_2d.h Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
resource_format_text.cpp Don't break parsing on missing resources 2022-11-28 16:19:15 +01:00
resource_format_text.h Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00
segment_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
segment_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
separation_ray_shape_2d.cpp rename translate(d) to translate(d)_local in Transform 2D/3D 2022-07-16 11:47:54 +02:00
separation_ray_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
separation_ray_shape_3d.cpp Add suffixes to all nodes and resources 2022-06-11 09:41:05 -05:00
separation_ray_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
shader_include.cpp Implement coloring for disabled branches in the shader editor 2022-08-14 13:57:26 +03:00
shader_include.h Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
shader.cpp Fix Shader::has_parameter to return a correct value 2022-11-11 11:30:34 +03:00
shader.h prefix shader parameters with "shader_parameter/" 2022-09-02 20:41:00 -05:00
shape_2d.cpp Fix cyclic references in GDScript 2.0 2022-11-18 16:41:31 -05:00
shape_2d.h Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
shape_3d.cpp Fix cyclic references in GDScript 2.0 2022-11-18 16:41:31 -05:00
shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_ccdik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_2d_ccdik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_fabrik.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_fabrik.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
skeleton_modification_2d_jiggle.cpp Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
skeleton_modification_2d_jiggle.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_lookat.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_2d_lookat.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_physicalbones.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_physicalbones.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_stackholder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_stackholder.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_twoboneik.cpp Unify usage of GLOBAL/EDITOR_GET 2022-10-18 19:01:48 +02:00
skeleton_modification_2d_twoboneik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d.cpp Unify usage of GLOBAL/EDITOR_GET 2022-10-18 19:01:48 +02:00
skeleton_modification_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_3d_ccdik.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d_ccdik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_fabrik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_fabrik.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
skeleton_modification_3d_jiggle.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_jiggle.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_lookat.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d_lookat.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_stackholder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_3d_stackholder.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_twoboneik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_twoboneik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_stack_2d.cpp 2D and 3D Skeleton modification docs, and small fixes. 2022-09-14 15:07:45 -07:00
skeleton_modification_stack_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_stack_3d.cpp Change skeleton modification 2d and 3d to use the array inspector. 2022-05-07 13:57:10 -07:00
skeleton_modification_stack_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_profile.cpp Changed the rest definition of SkeletonProfileHumanoid thumb 2022-09-18 06:28:53 +09:00
skeleton_profile.h Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
skin.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
skin.h Merge pull request #56212 from laws65/skin-export-crash-fix 2022-01-05 10:48:52 +01:00
sky_material.cpp Move debanding into internal sky shader code so that it is applied after everything else. 2022-09-13 10:39:04 -07:00
sky_material.h Style: Cleanup header guards for consistency 2022-09-26 13:51:17 +02:00
sky.cpp Capitalize/fix some property enum hints 2022-05-12 15:03:16 -05:00
sky.h Revert "Default to real-time radiance map filter for environment sky reflections" 2022-02-17 23:13:32 -08:00
sphere_shape_3d.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
sphere_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
sprite_frames.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
sprite_frames.h SpriteFrames: Sort animations alphabetically 2022-07-13 16:15:11 +02:00
style_box.cpp Simplify GDVIRTUAL_REQUIRED_CALL calls 2022-11-30 18:36:57 +01:00
style_box.h Add set_default_margin_all/individual to StyleBox 2022-09-07 16:37:36 +03:00
surface_tool.cpp Remove usage of unitialized variables 2022-10-01 21:09:22 +02:00
surface_tool.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
syntax_highlighter.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
syntax_highlighter.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
text_file.cpp Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose. 2022-07-07 11:07:18 +03:00
text_file.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
text_line.cpp Code simplifications 2022-11-07 01:21:25 +01:00
text_line.h Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
text_paragraph.cpp Fix TextLine and TextParagraph get_*_object_rect methods not accounting for alignment and drop cap. 2022-10-26 10:46:08 +03:00
text_paragraph.h Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
texture.cpp Simplify GDVIRTUAL_REQUIRED_CALL calls 2022-11-30 18:36:57 +01:00
texture.h Merge pull request #63271 from Chaosus/fix_texture_error 2022-10-11 16:17:15 +02:00
theme.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
theme.h Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00
tile_set.cpp [TileMap] Fix alternative tile issues. 2022-11-25 00:44:02 +08:00
tile_set.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
video_stream.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
visual_shader_nodes.cpp Visual Shader UVFunc keep existing input value on function change 2022-11-10 04:31:05 -08:00
visual_shader_nodes.h Fix code generation for VisualShaderNodeTextureParameterTriplanar 2022-09-07 07:02:07 +03:00
visual_shader_particle_nodes.cpp Make some Image methods static 2022-10-14 14:34:15 +02:00
visual_shader_particle_nodes.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
visual_shader_sdf_nodes.cpp Add some more fixes to visual shader 2022-02-07 11:28:42 +03:00
visual_shader_sdf_nodes.h Fix default input port hints for some modes in visual shader 2022-01-22 11:12:56 +03:00
visual_shader.cpp Simplify GDVIRTUAL_CALL calls 2022-10-19 00:05:48 +02:00
visual_shader.h Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
world_2d.cpp Added node for Navigation links 2022-08-26 22:05:15 -07:00
world_2d.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
world_3d.cpp Merge pull request #63479 from DarkKilauea/nav-link 2022-09-01 23:44:22 +02:00
world_3d.h Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
world_boundary_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
world_boundary_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
world_boundary_shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
world_boundary_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00