gl3n ~master (2021-06-11T06:55:56Z)
Home
Dub
Repo
Matrix.perspective_inverse
gl3n
linalg
Matrix
Returns an inverse perspective matrix (4x4 and floating-point matrices only).
Matrix
perspective_inverse
(mt width, mt height, mt fov, mt near, mt far)
Matrix
perspective_inverse
(mt left, mt right, mt bottom, mt top, mt near, mt far)
struct
Matrix
(type, int rows_, int cols_)
@
safe
pure nothrow static
static if
(!(
(rows == 2) && (cols == 2)
))
static if
(!(
(rows == 3) && (cols == 3)
))
static if
(
(rows == 4) && (cols == 4)
)
static if
(
isFloatingPoint!mt
)
Matrix
perspective_inverse
(
mt
left
,
mt
right
,
mt
bottom
,
mt
top
,
mt
near
,
mt
far
)
if
(
(
rows_
> 0
)
&&
(
cols_
> 0
)
)
Meta
Source
See Implementation
gl3n
linalg
Matrix
aliases
mt
ok
toPrettyString
toString
constructors
this
functions
clear
get_rotation
get_scale
get_translation
invert
make_identity
opBinary
opBinaryRight
opCast
opOpAssign
rotate
rotatex
rotatey
rotatez
scale
set_rotation
set_scale
set_translation
translate
transpose
properties
as_pretty_string
as_string
det
identity
inverse
isFinite
transposed
value_ptr
static functions
isCompatibleMatrixImpl
isCompatibleVectorImpl
look_at
orthographic
orthographic_inverse
perspective
perspective_inverse
rotation
scaling
translation
xrotation
yrotation
zrotation
static variables
cols
rows
templates
isCompatibleMatrix
isCompatibleVector
variables
matrix
Returns an inverse perspective matrix (4x4 and floating-point matrices only).