summaryrefslogtreecommitdiff
path: root/modules/gridmap/grid_map.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-12-15 18:23:16 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-12-15 18:24:30 -0300
commite946fb8cb0a9177c45db5305a26efa52ea8e7907 (patch)
treea5a36a7b61602d2ccf5e3551b947a99b6afc9513 /modules/gridmap/grid_map.h
parentbca97e33cefdf2687ea766fd9bd7032aa98cd0e8 (diff)
Made built-in identifiers properly constant in shaders. Fixes #14449, closes #14629
Diffstat (limited to 'modules/gridmap/grid_map.h')
-rw-r--r--modules/gridmap/grid_map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gridmap/grid_map.h b/modules/gridmap/grid_map.h
index 5bfdf1dac3..ab66bf123e 100644
--- a/modules/gridmap/grid_map.h
+++ b/modules/gridmap/grid_map.h
@@ -186,6 +186,11 @@ class GridMap : public Spatial {
Vector3 _get_offset() const;
+ struct BakedMesh {
+ Ref<Mesh> mesh;
+ Transform transform;
+ };
+
protected:
bool _set(const StringName &p_name, const Variant &p_value);
bool _get(const StringName &p_name, Variant &r_ret) const;