dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
Matrix.perspective
dplug
math
matrix
Matrix
Perspective projection
struct
Matrix
(T, int R, int C)
@
nogc
static pure nothrow
static if
(
isSquare && R == 4 && isFloatingPoint!T
)
Matrix
perspective
(
T
FOVInRadians
,
T
aspect
,
T
zNear
,
T
zFar
)
Return Value
Type:
Matrix
perspective projection.
Meta
Source
See Implementation
dplug
math
matrix
Matrix
aliases
_T
column_t
rotateX
rotateY
rotateZ
row_t
constructors
this
functions
column
inverse
opAssign
opBinary
opCast
opEquals
opOpAssign
opUnary
ptr
row
scale
translate
transposed
manifest constants
_C
_R
static functions
constant
diag
fromColumns
fromRows
identity
lookAt
orthographic
perspective
rotateAxis
rotation
scaling
translation
unions
__anonymous
variables
isSquare
Perspective projection