bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Matrix.perspectiveDegrees
bettercmath
matrix
Matrix
Calls
perspective
converting angle from degrees to radians.
struct
Matrix
(T, uint numColumns, uint numRows = numColumns)
static
static if
(
rowSize == 4 && columnSize == 4
)
auto
perspectiveDegrees
(
T
fovDegrees
,
T
aspectRatio
,
T
near
,
T
far
)
if
(
numColumns
> 0 &&
numRows
> 0
)
See Also
perspective
Meta
Source
See Implementation
bettercmath
matrix
Matrix
aliases
ElementType
ortho
constructors
this
enums
opDollar
functions
columns
copyInto
opBinary
opCast
opIndex
opOpAssign
rows
manifest constants
columnSize
identity
isSquare
minDimension
numElements
rowSize
static functions
fromColumns
fromDiagonal
fromRows
orthographic
perspective
perspectiveDegrees
variables
elements
Calls perspective converting angle from degrees to radians.