summaryrefslogtreecommitdiff
path: root/modules/gltf/gltf_accessor.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-07-24 12:06:38 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-07-24 14:21:27 -0500
commit00ec9321f6f6e8a48b2bb3eaed5ac1d5bbe090fd (patch)
treea946e96c1ef97ed88300199be3b894587ad8c5de /modules/gltf/gltf_accessor.h
parentb3df27526a0374f2fd5f44eab99da4b4bfd9f9ec (diff)
GLTF: Move shared defines into a separate gltf_defines.h file
Also move GLTFDocument's template conversion functions into gltf_template_convert.h
Diffstat (limited to 'modules/gltf/gltf_accessor.h')
-rw-r--r--modules/gltf/gltf_accessor.h4
1 files changed, 2 insertions, 2 deletions
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<double> min;
Vector<double> max;
int sparse_count = 0;