virtualx-engine/core/math
toasteater 5f1b9a2313 Improved uniformity of RandomPCG::randf.
When generating single precision floats, Godot casts a uint32_t to float,
causing uniformity loss.

This new randf, inspired by T. R. Campbell's random_real, samples the output
of rand as the fraction part of an infinite binary number, with some tricks
to reduce ops and branching. This method provides "good enough" uniformity at
decent speed, for floats greater than 2^-64. Smaller numbers are floored to 0.
2019-03-19 18:14:58 +08:00
..
a_star.cpp Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
a_star.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
aabb.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
aabb.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_frame.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_frame.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
basis.cpp Remove setting that caused is_inside_tree() errors on doppler tracking enabled. 2019-02-26 09:16:23 -03:00
basis.h [Core] Rename Matrix3 file to Basis 2019-02-09 14:42:23 -05:00
bsp_tree.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
bsp_tree.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
camera_matrix.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
camera_matrix.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
delaunay.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
expression.cpp Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
expression.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
face3.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
face3.h Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
geometry.cpp Merge pull request #25495 from IronicallySerious/fix-expand-macros 2019-03-16 11:20:52 -07:00
geometry.h TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix for #24003 2019-03-04 21:03:10 -03:00
math_defs.h Several fixes to make GLES2 on HTML5 work much better. 2019-02-25 21:47:29 -03:00
math_fieldwise.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
math_fieldwise.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
math_funcs.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
math_funcs.h Several fixes to make GLES2 on HTML5 work much better. 2019-02-25 21:47:29 -03:00
octree.h Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
plane.cpp Revert "fixed invalid implementation of Plane::intersects_segment and Plane::intersects_ray" 2019-01-13 11:06:34 +01:00
plane.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
quat.cpp Several fixes to make GLES2 on HTML5 work much better. 2019-02-25 21:47:29 -03:00
quat.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
quick_hull.cpp Scale quickhull tolerance with mesh size 2019-03-01 20:58:39 +00:00
quick_hull.h Scale quickhull tolerance with mesh size 2019-03-01 20:58:39 +00:00
random_number_generator.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
random_number_generator.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
random_pcg.cpp Improved uniformity of RandomPCG::randf. 2019-03-19 18:14:58 +08:00
random_pcg.h Improved uniformity of RandomPCG::randf. 2019-03-19 18:14:58 +08:00
rect2.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rect2.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build core's thirdparty code in own environment 2018-09-28 11:40:41 +02:00
transform.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
transform.h [Core] Rename Matrix3 file to Basis 2019-02-09 14:42:23 -05:00
transform_2d.cpp [Core] Transform2D add set_scale and fix set_rotation 2019-02-12 17:59:29 -05:00
transform_2d.h [Core] Transform2D add set_scale and fix set_rotation 2019-02-12 17:59:29 -05:00
triangle_mesh.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
triangle_mesh.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
triangulate.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
triangulate.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
vector2.cpp Several fixes to make GLES2 on HTML5 work much better. 2019-02-25 21:47:29 -03:00
vector2.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
vector3.cpp [Core] Rename Matrix3 file to Basis 2019-02-09 14:42:23 -05:00
vector3.h Several fixes to make GLES2 on HTML5 work much better. 2019-02-25 21:47:29 -03:00