Calculating frustum FOV for a PerspectiveCamera
问题 I currently have a screen consisting of two areas: (Values are just assumed for this particular example and may of course vary depending on screen). The screen in total is 1080x1432px (WxH) and consists of two areas, each clipped using glViewPort . This because I want area (1) not to fill the screen when zooming. Game area. Can be zoomed. The size is 1080x1277px (WxH) and located at the top. The HUD (FYI objects from here can be moved to area (1). Non zoomable. The size is 1080x154 (WxH).