summaryrefslogtreecommitdiff
path: root/servers/arvr/arvr_interface.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-13 13:07:28 +0100
committerGitHub <noreply@github.com>2017-11-13 13:07:28 +0100
commitafec30837c7026251b90fab6f47131db19df278d (patch)
tree50ccef3db21bc6aacef9778218810e075eb78815 /servers/arvr/arvr_interface.h
parentfaf097d350a2a1c63ab9399355de70728a958b2d (diff)
parent9d3f8418ca252a4047b3818f16ed22228c1d0071 (diff)
Merge pull request #12622 from BastiaanOlij/arvr_changes_to_server
Removed add/remove interface bindings and added get_interfaces
Diffstat (limited to 'servers/arvr/arvr_interface.h')
-rw-r--r--servers/arvr/arvr_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/arvr/arvr_interface.h b/servers/arvr/arvr_interface.h
index 880f6e4595..1599c1a64f 100644
--- a/servers/arvr/arvr_interface.h
+++ b/servers/arvr/arvr_interface.h
@@ -103,7 +103,7 @@ public:
/** rendering and internal **/
- virtual Size2 get_recommended_render_targetsize() = 0; /* returns the recommended render target size per eye for this device */
+ virtual Size2 get_render_targetsize() = 0; /* returns the recommended render target size per eye for this device */
virtual bool is_stereo() = 0; /* returns true if this interface requires stereo rendering (for VR HMDs) or mono rendering (for mobile AR) */
virtual Transform get_transform_for_eye(ARVRInterface::Eyes p_eye, const Transform &p_cam_transform) = 0; /* get each eyes camera transform, also implement EYE_MONO */
virtual CameraMatrix get_projection_for_eye(ARVRInterface::Eyes p_eye, real_t p_aspect, real_t p_z_near, real_t p_z_far) = 0; /* get each eyes projection matrix */