godot/servers
Josh Jones 9aadd0cde7 [Godot Physics]: Correct typo in moment of inertia calculations.
The moment of inertia calculation for BoxShape is:

```
Vector3(
    (p_mass / 3.0) * (ly * ly + lz * lz), 
    (p_mass / 3.0) * (lx * lx + lz * lz), 
    (p_mass / 3.0) * (lx * lx + ly * ly));
```

where the final line includes both the x and y extents.

However, for CapsuleShape3D, CylinderShape3D, ConvexPolygonShape3D, ConcavePolygonShape3D, and HeightMapShape3D, the final line read `(p_mass / 3.0) * (extents.y * extents.y + extents.y * extents.y)`.  I believe this is a mistake, considering the comment in each case mentions using an AABB approximation, which should follow the same approach as BoxShape.

This change corrects the final line to include both the x and y components of the shape's extent.
2021-03-22 20:10:11 -07:00
..
audio Fix AudioEffectCapture buffer length cannot be changed 2021-03-17 23:07:38 +01:00
camera Check if an input image wasn't Image on several functions in CameraFeed 2021-03-14 16:47:21 +07:00
physics_2d Fix GodotPhysics solver with kinematic body set to report contacts 2021-03-11 18:06:00 -07:00
physics_3d [Godot Physics]: Correct typo in moment of inertia calculations. 2021-03-22 20:10:11 -07:00
rendering Changed SCsub for shaders to find shaders automatically and create dependencies with include files 2021-03-18 12:59:47 +11:00
xr
audio_server.cpp
audio_server.h
camera_server.cpp
camera_server.h
display_server.cpp doc: Sync classref with current source 2021-02-19 14:39:14 +01:00
display_server.h
navigation_server_2d.cpp Make 2D navigation consider scale 2021-03-18 15:17:23 +01:00
navigation_server_2d.h Allow Navigation to be more flexible 2021-03-15 15:58:59 +01:00
navigation_server_3d.cpp Allow Navigation to be more flexible 2021-03-15 15:58:59 +01:00
navigation_server_3d.h Allow Navigation to be more flexible 2021-03-15 15:58:59 +01:00
physics_server_2d.cpp
physics_server_2d.h
physics_server_3d.cpp SoftBody support in GodotPhysics 3D 2021-03-18 09:04:17 -07:00
physics_server_3d.h SoftBody support in GodotPhysics 3D 2021-03-18 09:04:17 -07:00
register_server_types.cpp
register_server_types.h
rendering_server.cpp
rendering_server.h Fix negative VRAM values 2021-03-05 21:48:20 +00:00
SCsub
server_wrap_mt_common.h
text_server.cpp Merge pull request #46045 from bruvzg/text_server_bmp_create 2021-02-24 12:55:36 +01:00
text_server.h Merge pull request #46045 from bruvzg/text_server_bmp_create 2021-02-24 12:55:36 +01:00
xr_server.cpp
xr_server.h