mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
Add PackedRealArray as an alias for PackedFloat(32/64)Array
(cherry picked from commit 646c71c277)
This commit is contained in:
committed by
David Snopek
parent
aaffda23a5
commit
0472b6bdd4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user