diff options
| author | Rémi Verschelde | 2017-07-24 22:24:34 +0200 |
|---|---|---|
| committer | GitHub | 2017-07-24 22:24:34 +0200 |
| commit | 0a74fb625e55743e32aa0977191d936e94df235c (patch) | |
| tree | 4e3f6b33ee11917b4fef48a4f0cb527782d8e6b1 /scene/3d/spatial.h | |
| parent | e6336a52a89e900201f5b6e784f0dec153229a19 (diff) | |
| parent | 140f189a65f991d5b44d49ad6b710f7512862d16 (diff) | |
| download | godot-0a74fb625e55743e32aa0977191d936e94df235c.tar.gz godot-0a74fb625e55743e32aa0977191d936e94df235c.tar.zst godot-0a74fb625e55743e32aa0977191d936e94df235c.zip | |
Diffstat (limited to 'scene/3d/spatial.h')
| -rw-r--r-- | scene/3d/spatial.h | 3 |
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; |
