From 00ec9321f6f6e8a48b2bb3eaed5ac1d5bbe090fd Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 24 Jul 2022 12:06:38 -0500 Subject: GLTF: Move shared defines into a separate gltf_defines.h file Also move GLTFDocument's template conversion functions into gltf_template_convert.h --- modules/gltf/gltf_accessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/gltf/gltf_accessor.h') diff --git a/modules/gltf/gltf_accessor.h b/modules/gltf/gltf_accessor.h index f412dc2c7f..d89cc5d1ae 100644 --- a/modules/gltf/gltf_accessor.h +++ b/modules/gltf/gltf_accessor.h @@ -33,7 +33,7 @@ #include "core/io/resource.h" -#include "gltf_document.h" +#include "gltf_defines.h" struct GLTFAccessor : public Resource { GDCLASS(GLTFAccessor, Resource); @@ -45,7 +45,7 @@ private: int component_type = 0; bool normalized = false; int count = 0; - GLTFDocument::GLTFType type = GLTFDocument::TYPE_SCALAR; + GLTFType type = GLTFType::TYPE_SCALAR; Vector min; Vector max; int sparse_count = 0; -- cgit v1.2.3