summaryrefslogtreecommitdiffstats
path: root/modules/godot_physics_3d/godot_step_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/godot_physics_3d/godot_step_3d.cpp')
-rw-r--r--modules/godot_physics_3d/godot_step_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/godot_physics_3d/godot_step_3d.cpp b/modules/godot_physics_3d/godot_step_3d.cpp
index d09a3b4e6d..b6cec4ba59 100644
--- a/modules/godot_physics_3d/godot_step_3d.cpp
+++ b/modules/godot_physics_3d/godot_step_3d.cpp
@@ -355,14 +355,14 @@ void GodotStep3D::step(GodotSpace3D *p_space, real_t p_delta) {
/* PRE-SOLVE CONSTRAINT ISLANDS */
- // Warning: This doesn't run on threads, because it involves thread-unsafe processing.
+ // WARNING: This doesn't run on threads, because it involves thread-unsafe processing.
for (uint32_t island_index = 0; island_index < island_count; ++island_index) {
_pre_solve_island(constraint_islands[island_index]);
}
/* SOLVE CONSTRAINT ISLANDS */
- // Warning: _solve_island modifies the constraint islands for optimization purpose,
+ // WARNING: `_solve_island` modifies the constraint islands for optimization purpose,
// their content is not reliable after these calls and shouldn't be used anymore.
group_task = WorkerThreadPool::get_singleton()->add_template_group_task(this, &GodotStep3D::_solve_island, nullptr, island_count, -1, true, SNAME("Physics3DConstraintSolveIslands"));
WorkerThreadPool::get_singleton()->wait_for_group_task_completion(group_task);