near and far are reserved for near and far pointers in MSVR
This commit is contained in:
parent
f494470005
commit
cf56711a7e
1 changed files with 3 additions and 3 deletions
|
@ -2369,11 +2369,11 @@ void RasterizerSceneGLES3::_draw_sky(RasterizerStorageGLES3::Sky *p_sky, const C
|
|||
|
||||
if (p_custom_fov) {
|
||||
|
||||
float near = p_projection.get_z_near();
|
||||
float far = p_projection.get_z_far();
|
||||
float near_plane = p_projection.get_z_near();
|
||||
float far_plane = p_projection.get_z_far();
|
||||
float aspect = p_projection.get_aspect();
|
||||
|
||||
camera.set_perspective(p_custom_fov, aspect, near, far);
|
||||
camera.set_perspective(p_custom_fov, aspect, near_plane, far_plane);
|
||||
|
||||
} else {
|
||||
camera = p_projection;
|
||||
|
|
Loading…
Reference in a new issue