summaryrefslogtreecommitdiff
path: root/servers/xr_server.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-21 15:16:52 +0200
committerGitHub <noreply@github.com>2021-09-21 15:16:52 +0200
commitd7b68f376de6463a4ff5152e5714dfa549112abf (patch)
tree7661700caeeeb3052d8560753ca2138ed077ad0b /servers/xr_server.h
parentdc2b06260901249f1510eaafe11d7db91ed5a579 (diff)
parentc527078634dbed724ab487000aea6f3d96b33752 (diff)
Merge pull request #52177 from BastiaanOlij/xr_doubles
Change to using doubles in XR classes
Diffstat (limited to 'servers/xr_server.h')
-rw-r--r--servers/xr_server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/xr_server.h b/servers/xr_server.h
index af183e175d..6d07263755 100644
--- a/servers/xr_server.h
+++ b/servers/xr_server.h
@@ -81,7 +81,7 @@ private:
Ref<XRInterface> primary_interface; /* we'll identify one interface as primary, this will be used by our viewports */
- real_t world_scale; /* scale by which we multiply our tracker positions */
+ double world_scale; /* scale by which we multiply our tracker positions */
Transform3D world_origin; /* our world origin point, maps a location in our virtual world to the origin point in our real world tracking volume */
Transform3D reference_frame; /* our reference frame */
@@ -107,8 +107,8 @@ public:
I may remove access to this property in GDScript in favour of exposing it on the XROrigin3D node
*/
- real_t get_world_scale() const;
- void set_world_scale(real_t p_world_scale);
+ double get_world_scale() const;
+ void set_world_scale(double p_world_scale);
/*
The world maps the 0,0,0 coordinate of our real world coordinate system for our tracking volume to a location in our