godot/servers/physics_2d
Fabio Alessandrelli f3c6ac1d71 Ignore thread models when compiling with NO_THREAD
The thread model option for physics (2D) and rendering (single-unsafe,
single-safe, multithread), was causing crashes/locks when set as
multithreaded and exported for a platform that does not support threads
(namely HTML5).

This commit ensures that when threads support is not available, that
option is ignored, and the equivalent of "single-unsafe" is always used
instead.
2020-09-23 11:24:01 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
area_2d_sw.cpp Remove elements from monitored_bodies and monitored_areas as they are 2020-07-04 10:17:57 +01:00
area_2d_sw.h Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
area_pair_2d_sw.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
area_pair_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
body_2d_sw.cpp Wrap angles to (-pi, pi) in momentum calculation. 2020-08-26 08:25:28 -07:00
body_2d_sw.h Add override keywords. 2020-07-10 13:56:54 +01:00
body_pair_2d_sw.cpp Fixed 2D physics regression that causes RigidBody2D nodes to spin uncontrollably when colliding 2020-08-28 14:16:12 -04:00
body_pair_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
broad_phase_2d_basic.cpp Test collision mask before creating constraint pair in Godot physics broadphase 2D and 3D. 2020-06-08 17:46:21 +01:00
broad_phase_2d_basic.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
broad_phase_2d_hash_grid.cpp Trigger broadphase update when changing collision layer/mask, and 2020-06-27 18:34:16 +01:00
broad_phase_2d_hash_grid.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
broad_phase_2d_sw.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
broad_phase_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
collision_object_2d_sw.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
collision_object_2d_sw.h Trigger broadphase update when changing collision layer/mask, and 2020-06-27 18:34:16 +01:00
collision_solver_2d_sat.cpp Split `Geometry` singleton into `Geometry2D` and `Geometry3D` 2020-05-27 14:28:34 +03:00
collision_solver_2d_sat.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
collision_solver_2d_sw.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
collision_solver_2d_sw.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
constraint_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
joints_2d_sw.cpp Merge pull request #37350 from aaronfranke/force-impulse 2020-07-02 18:39:16 +02:00
joints_2d_sw.h Correct misspellings of damped spring. 2020-06-04 18:07:24 +01:00
physics_server_2d_sw.cpp Ignore thread models when compiling with NO_THREAD 2020-09-23 11:24:01 +02:00
physics_server_2d_sw.h Add override keywords. 2020-07-10 13:56:54 +01:00
physics_server_2d_wrap_mt.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
physics_server_2d_wrap_mt.h Ignore thread models when compiling with NO_THREAD 2020-09-23 11:24:01 +02:00
shape_2d_sw.cpp Split `Geometry` singleton into `Geometry2D` and `Geometry3D` 2020-05-27 14:28:34 +03:00
shape_2d_sw.h Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
space_2d_sw.cpp Revert "Allow Area2D and 3D mouse events without a collision layer" 2020-07-27 22:45:01 +02:00
space_2d_sw.h Add override keywords. 2020-07-10 13:56:54 +01:00
step_2d_sw.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
step_2d_sw.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00