From 47140cdad095494dcbfc070918d1b422d8a0761d Mon Sep 17 00:00:00 2001 From: Ricardo Buring Date: Mon, 9 Jan 2023 11:03:07 +0100 Subject: Rename float=64 build option to precision=double This makes the build system consistent with Godot again. Also fix CMake build to define REAL_T_IS_DOUBLE when precision=double. --- misc/scripts/check_get_file_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/scripts/check_get_file_list.py') diff --git a/misc/scripts/check_get_file_list.py b/misc/scripts/check_get_file_list.py index d86b65f..d536a7a 100755 --- a/misc/scripts/check_get_file_list.py +++ b/misc/scripts/check_get_file_list.py @@ -10,10 +10,10 @@ from binding_generator import get_file_list, generate_bindings api_filepath = "gdextension/extension_api.json" bits = "64" -double = "float" +precision = "single" output_dir = "self_test" -generate_bindings(api_filepath, use_template_get_node=False, bits=bits, double=double, output_dir=output_dir) +generate_bindings(api_filepath, use_template_get_node=False, bits=bits, precision=precision, output_dir=output_dir) flist = get_file_list(api_filepath, output_dir, headers=True, sources=True) p = Path(output_dir) / "gen" -- cgit v1.2.3