Rename Transform to Transform3D in core

This commit is contained in:
Aaron Franke 2020-10-17 01:08:21 -04:00
parent b80494e633
commit de3f6699a5
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
257 changed files with 1697 additions and 1702 deletions

View file

@ -397,7 +397,7 @@ void XRAnchor3D::_notification(int p_what) {
is_active = false;
} else {
is_active = true;
Transform transform;
Transform3D transform;
// we'll need our world_scale
real_t world_scale = xr_server->get_world_scale();
@ -571,7 +571,7 @@ void XROrigin3D::_notification(int p_what) {
Ref<XRInterface> xr_interface = xr_server->get_primary_interface();
if (xr_interface.is_valid() && tracked_camera != nullptr) {
// get our positioning transform for our headset
Transform t = xr_interface->get_transform_for_eye(XRInterface::EYE_MONO, Transform());
Transform3D t = xr_interface->get_transform_for_eye(XRInterface::EYE_MONO, Transform3D());
// now apply this to our camera
tracked_camera->set_transform(t);