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

VRageMath.MatrixD.CreatePerspectiveFieldOfView

Malware edited this page Apr 8, 2019 · 19 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, ref MatrixD result)

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

Parameters

Clone this wiki locally