init_perspective


Description:

[ Version ( since = "1.0" ) ]
public unowned Matrix? init_perspective (float fovy, float aspect, float z_near, float z_far)

Initializes a Matrix with a perspective projection.

Parameters:

this

a Matrix

fovy

the field of view angle, in degrees

aspect

the aspect value

z_near

the near Z plane

z_far

the far Z plane

Returns:

the initialized matrix




2022 vala-language.org