summaryrefslogtreecommitdiff
path: root/servers/xr
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:35:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:35:26 +0200
commit3a2b0ab73d4cfbed769d46517f1f4832a975a979 (patch)
treed62a72796aaa2a80e0a70b19d7bafac4d610a2b0 /servers/xr
parent132a0e3242a54cd0750769b8f057ae8e0fd58232 (diff)
parent2cea42cc7faf12ad56b12c113bbb70521264c8e8 (diff)
Merge pull request #66898 from aaronfranke/proj-mat-columns
Rename Projection `matrix` to `columns`
Diffstat (limited to 'servers/xr')
-rw-r--r--servers/xr/xr_interface_extension.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/xr/xr_interface_extension.cpp b/servers/xr/xr_interface_extension.cpp
index f828c569e9..0d4a53d287 100644
--- a/servers/xr/xr_interface_extension.cpp
+++ b/servers/xr/xr_interface_extension.cpp
@@ -273,7 +273,7 @@ Projection XRInterfaceExtension::get_projection_for_view(uint32_t p_view, double
if (GDVIRTUAL_CALL(_get_projection_for_view, p_view, p_aspect, p_z_near, p_z_far, arr)) {
ERR_FAIL_COND_V_MSG(arr.size() != 16, Projection(), "Projection matrix must contain 16 floats");
- real_t *m = (real_t *)cm.matrix;
+ real_t *m = (real_t *)cm.columns;
for (int i = 0; i < 16; i++) {
m[i] = arr[i];
}