summaryrefslogtreecommitdiff
path: root/servers/xr/xr_interface_extension.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-10-04 11:44:48 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-10-04 12:34:19 -0500
commit2cea42cc7faf12ad56b12c113bbb70521264c8e8 (patch)
treeae895ad9e52b96b92d60ae91fa80565fdce08c15 /servers/xr/xr_interface_extension.cpp
parent0056acf46fc88757cae9d9f6fe9805f0eec1cd09 (diff)
Rename Projection `matrix` to `columns`
Diffstat (limited to 'servers/xr/xr_interface_extension.cpp')
-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 7024a25528..9489cd5933 100644
--- a/servers/xr/xr_interface_extension.cpp
+++ b/servers/xr/xr_interface_extension.cpp
@@ -264,7 +264,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];
}