Merge pull request #66898 from aaronfranke/proj-mat-columns
Rename Projection `matrix` to `columns`
This commit is contained in:
commit
3a2b0ab73d
25 changed files with 284 additions and 282 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue