aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/spatial.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-24 22:24:34 +0200
committerGitHub2017-07-24 22:24:34 +0200
commit0a74fb625e55743e32aa0977191d936e94df235c (patch)
tree4e3f6b33ee11917b4fef48a4f0cb527782d8e6b1 /scene/3d/spatial.h
parente6336a52a89e900201f5b6e784f0dec153229a19 (diff)
parent140f189a65f991d5b44d49ad6b710f7512862d16 (diff)
downloadgodot-0a74fb625e55743e32aa0977191d936e94df235c.tar.gz
godot-0a74fb625e55743e32aa0977191d936e94df235c.tar.zst
godot-0a74fb625e55743e32aa0977191d936e94df235c.zip
Diffstat (limited to 'scene/3d/spatial.h')
-rw-r--r--scene/3d/spatial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/3d/spatial.h b/scene/3d/spatial.h
index d114a6231..f22b19d3c 100644
--- a/scene/3d/spatial.h
+++ b/scene/3d/spatial.h
@@ -173,6 +173,9 @@ public:
void look_at(const Vector3 &p_target, const Vector3 &p_up_normal);
void look_at_from_pos(const Vector3 &p_pos, const Vector3 &p_target, const Vector3 &p_up_normal);
+ Vector3 to_local(Vector3 p_global) const;
+ Vector3 to_global(Vector3 p_local) const;
+
void set_notify_transform(bool p_enable);
bool is_transform_notification_enabled() const;