Change to using doubles in XR classes
This commit is contained in:
parent
dc2b062609
commit
c527078634
9 changed files with 51 additions and 51 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue