August 2018
Beginner to intermediate
208 pages
5h 11m
English
Let's try to understand the preceding description of code with the help of a simple View Frustum image, as follows:

The center of projection is where the virtual camera is placed. zNear is the near clipping plane, which we have defined as 0.1f in our code. The 1000.0f value refers to the far clipping plane, which is zFar. These two values mean that anything nearer than the near clipping plane won't be drawn for you on the screen, anything further than the far clipping plane won't be drawn for you, and anything outside of the view frustum box won't be drawn for you either. The aspect ratio is the width divided by the height, and ...
Read now
Unlock full access