Explore map catalog
Design and customize your own maps
Create powerful apps with our versatile SDK
Powerful map searching and geocoding services
Enrich maps with your own data
Secure self-hosted mapping solutions
Generates a perspective projection matrix with the given field of view. This is primarily useful for generating projection matrices to be used with the still experiemental WebVR API.
mat4 frustum matrix will be written into
Object containing the following values: upDegrees, downDegrees, leftDegrees, rightDegrees
Near bound of the frustum
Far bound of the frustum
out
Thank you! Please tell us what's unclear or missing on this page, so we can improve it for you.
Thank you for your feedback!
You've already voted on this page.
reCAPTCHA failed! Please try again.
Generates a perspective projection matrix with the given field of view. This is primarily useful for generating projection matrices to be used with the still experiemental WebVR API.