diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp index fc41014ed..4b5864283 100644 --- a/include/godot_cpp/variant/variant.hpp +++ b/include/godot_cpp/variant/variant.hpp @@ -356,6 +356,12 @@ String vformat(const String &p_text, const VarArgs... p_args) { #include +#ifdef REAL_T_IS_DOUBLE +using PackedRealArray = PackedFloat64Array; +#else +using PackedRealArray = PackedFloat32Array; +#endif // REAL_T_IS_DOUBLE + } // namespace godot #endif // GODOT_VARIANT_HPP