mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 20:53:15 +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. |
||
---|---|---|
.. | ||
copymem.h | ||
dir_access.cpp | ||
dir_access.h | ||
file_access.cpp | ||
file_access.h | ||
input_event.cpp | ||
input_event.h | ||
input.cpp | ||
input.h | ||
keyboard.cpp | ||
keyboard.h | ||
main_loop.cpp | ||
main_loop.h | ||
memory.cpp | ||
memory.h | ||
midi_driver.cpp | ||
midi_driver.h | ||
mutex.cpp | ||
mutex.h | ||
os.cpp | ||
os.h | ||
rw_lock.cpp | ||
rw_lock.h | ||
SCsub | ||
semaphore.cpp | ||
semaphore.h | ||
thread_dummy.cpp | ||
thread_dummy.h | ||
thread_safe.cpp | ||
thread_safe.h | ||
thread.cpp | ||
thread.h | ||
threaded_array_processor.h |