Compare commits

...

5 Commits

Author SHA1 Message Date
Bo 3ac09f9d12
Merge fe25e221a5 into 1c19d627aa 2023-12-21 08:25:41 -07:00
David Snopek 1c19d627aa
Merge pull request #1340 from aaronfranke/really-packed
Add PackedRealArray as an alias for PackedFloat(32/64)Array
2023-12-20 08:25:42 -06:00
Aaron Franke 646c71c277
Add PackedRealArray as an alias for PackedFloat(32/64)Array 2023-12-19 04:44:05 -06:00
Bo fe25e221a5
Fix indentation
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-05 17:36:54 +01:00
Bohumil Homola 64f0a6150d Expanding CMake to other compilers other than MSVC on Windows platform 2023-12-05 16:26:25 +01:00
2 changed files with 7 additions and 1 deletions

View File

@ -163,7 +163,7 @@ target_compile_definitions(${PROJECT_NAME} PUBLIC
DEBUG_ENABLED
DEBUG_METHODS_ENABLED
>
$<${compiler_is_msvc}:
$<$<AND:$<BOOL:${WIN32}>,$<NOT:${compiler_is_gnu}>>:
TYPED_METHOD_BIND
>
)

View File

@ -356,6 +356,12 @@ String vformat(const String &p_text, const VarArgs... p_args) {
#include <godot_cpp/variant/builtin_vararg_methods.hpp>
#ifdef REAL_T_IS_DOUBLE
using PackedRealArray = PackedFloat64Array;
#else
using PackedRealArray = PackedFloat32Array;
#endif // REAL_T_IS_DOUBLE
} // namespace godot
#endif // GODOT_VARIANT_HPP