mirror of
https://github.com/godotengine/godot
synced 2024-11-02 05:26:46 +00:00
33b5c57199
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float. |
||
---|---|---|
.. | ||
build_scripts | ||
doc_classes | ||
editor | ||
glue | ||
icons | ||
mono_gd | ||
utils | ||
.gitignore | ||
__init__.py | ||
class_db_api_json.cpp | ||
class_db_api_json.h | ||
config.py | ||
csharp_script.cpp | ||
csharp_script.h | ||
godotsharp_defs.h | ||
godotsharp_dirs.cpp | ||
godotsharp_dirs.h | ||
mono_gc_handle.cpp | ||
mono_gc_handle.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
signal_awaiter_utils.cpp | ||
signal_awaiter_utils.h |