mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
09a905ca80
Fixes #34541 Renamed MAX_DIGITS to MAX_DECIMALS, since it only changes the amount of digits after the decimal point. Increased MAX_DECIMALS to 32, and made String::num use MAX_DECIMALS consistently. If -1 is passed as decimal precision to String::num, it now gets changed to the correct precision based on the number's magnitude, instead of using printf default(which is 6) String::num_real also calculates the correct precision now. Also made the types used in floating-point math more consistent in a few places. |
||
---|---|---|
.. | ||
basis_universal | ||
bmp | ||
bullet | ||
camera | ||
csg | ||
cvtt | ||
dds | ||
denoise | ||
enet | ||
etcpak | ||
fbx | ||
freetype | ||
gdnative | ||
gdnavigation | ||
gdscript | ||
glslang | ||
gltf | ||
gridmap | ||
hdr | ||
jpg | ||
jsonrpc | ||
lightmapper_rd | ||
mbedtls | ||
meshoptimizer | ||
minimp3 | ||
mobile_vr | ||
mono | ||
ogg | ||
opensimplex | ||
opus | ||
pvr | ||
raycast | ||
regex | ||
squish | ||
stb_vorbis | ||
svg | ||
text_server_adv | ||
text_server_fb | ||
tga | ||
theora | ||
tinyexr | ||
upnp | ||
vhacd | ||
visual_script | ||
vorbis | ||
webm | ||
webp | ||
webrtc | ||
websocket | ||
webxr | ||
xatlas_unwrap | ||
modules_builders.py | ||
register_module_types.h | ||
SCsub |