diff options
author | FranckRJ <franckrj.w@gmail.com> | 2023-05-14 15:46:57 +0200 |
---|---|---|
committer | FranckRJ <franckrj.w@gmail.com> | 2023-05-14 18:09:07 +0200 |
commit | ab5462e386b2b353adb6533bdb7a17d020598be8 (patch) | |
tree | 86ba92b1382d806b97b761dfd8eab301f4296ae5 /platform/javascript/api/javascript_singleton.h | |
parent | ffd32a244b43ff58c13819c2debf8cf3b58ecbdc (diff) | |
download | redot-engine-ab5462e386b2b353adb6533bdb7a17d020598be8.tar.gz |
Fixed width of CapsuleShape2D::get_rect + set center to center of shape
The width of the rect was only half of the width of the shape, and
the 0;0 coord was at the top left of the rect.
Now the width properly matches the width of the shape, and the 0;0
coord is at the center of the shape. It should match the behavior
of Godot 3.X.
Diffstat (limited to 'platform/javascript/api/javascript_singleton.h')
0 files changed, 0 insertions, 0 deletions