virtualx-engine/scene
Maxime Leroy 6bd271139d
Fixing Curve2D/3D baked interpolated values
If bake interval is a multiple of the curve length, the curve would return NaN for some offset values (when `frac == 0.0`, it matches the start and end of the curve segment so `fmod == 0.0`, `frac` becomes NaN)

```
# Godot 3.1.1
var c = Curve3D.new()
c.add_point(Vector3())
c.add_point(Vector3(0.5,0,0))
c.add_point(Vector3(1,0,0))
c.bake_interval = 0.5
c.interpolate_baked(0.5) == Vector3(NAN, NAN, NAN)

```
2019-05-01 20:47:38 +02:00
..
2d Merge pull request #27371 from ShyRed/fixdisabled2dcollisions 2019-04-30 11:43:11 +02:00
3d Merge pull request #25670 from aqnuep/bake_mode_affect_gi_prove 2019-04-30 18:33:34 +02:00
animation Merge pull request #24437 from mateusfccp/single_quotes_option 2019-04-30 14:58:33 +02:00
audio Removed function to compute time, should not be that useful in practice. 2019-04-27 15:28:20 -03:00
gui Merge pull request #28559 from megalike/mac_os_move_cursor_hotkeys 2019-05-01 15:08:30 +02:00
main Merge pull request #24437 from mateusfccp/single_quotes_option 2019-04-30 14:58:33 +02:00
resources Fixing Curve2D/3D baked interpolated values 2019-05-01 20:47:38 +02:00
register_scene_types.cpp Fix Crash On Close When 3D Is Disabled 2019-04-25 21:59:07 +01:00
register_scene_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
scene_string_names.cpp -Fixes to undo redo to avoid crash, closes #24251 2019-02-14 10:22:34 -03:00
scene_string_names.h -Fixes to undo redo to avoid crash, closes #24251 2019-02-14 10:22:34 -03:00
SCsub Move Penner easing equations to thirdparty/misc 2018-09-28 16:01:26 +02:00