Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Matrix.CreatePerspective

Malware edited this page Dec 24, 2018 · 19 revisions

IndexMatrix

Matrix CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance)

Summary

Builds a perspective projection matrix and returns the result by value.

void CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance, ref Matrix result)

Summary

Builds a perspective projection matrix and returns the result by reference.

Clone this wiki locally