Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.MatrixD.CreatePerspectiveFieldOfView

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexMatrixD

Summary

public static MatrixD CreatePerspectiveFieldOfView(double fieldOfView, double aspectRatio, double nearPlaneDistance, double farPlaneDistance)

Builds a perspective projection matrix based on a field of view and returns by value.

Returns

MatrixD

Parameters

Summary

public static void CreatePerspectiveFieldOfView(double fieldOfView, double aspectRatio, double nearPlaneDistance, double farPlaneDistance, out MatrixD result)

Builds a perspective projection matrix based on a field of view and returns by reference.

Parameters

Clone this wiki locally