virtualx-engine/servers
lawnjelly 847a37b196 Change 2d transform snapping from floor to round
Two common problems have emerged as a result of transform snapping:
1) Camera jitter with a camera following a snapped object
2) Pixel gaps between e.g. a platform and a player, where a platform rounds down and a player rounds up

Using round seems to greatly reduce problems due to camera jitter. It also may prove better for  pixel gaps because pixel art is often designed on a grid, so whole numbers are too expected, which are unstable with floor().
2021-02-28 14:34:39 +00:00
..
arvr Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio Update Inspector when changing AudioEffectChorus voice_count 2021-02-25 22:36:42 +01:00
camera Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics Merge pull request #45933 from nekomatata/cylinder-support-3.2 2021-02-18 19:36:42 +01:00
physics_2d Merge pull request #45618 from RandomShaper/modernize_mt_3.2 2021-02-18 20:47:24 +01:00
visual Change 2d transform snapping from floor to round 2021-02-28 14:34:39 +00:00
arvr_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
arvr_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_server.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
audio_server.h Modernize Mutex 2021-02-18 11:58:08 +01:00
camera_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
camera_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_2d_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_2d_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_server.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_server.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_server_types.cpp Backport d800329 AudioEffectCapture to 3.2 2021-02-21 20:14:58 -08:00
register_server_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
server_wrap_mt_common.h Modernize Mutex 2021-02-18 11:58:08 +01:00
visual_server.cpp Add anisotropic filtering to GLES2 backend 2021-02-02 01:40:58 -06:00
visual_server.h GLES - fix some sanitizer warnings 2021-02-18 15:45:38 +00:00