zmath ~master (2021-07-15T08:21:03Z)
Home
Dub
Repo
lookAt
zmath
math3d
Look At projection Based on gfm code
@
nogc
pure nothrow
M
lookAt
(
M
=
Mat4f
V
=
Vec3f
T
=
float
)
(
V
eye
,
V
target
,
V
up
)
if
(
is4dMat
!
M
&&
isNumeric
!
T
&&
isVector
!
V
&&
V.dim
<= 3
)
Meta
Source
See Implementation
zmath
math3d
functions
lookAt
orthoMat
perspectiveMat
rotMat
scaleMat
translateMat
templates
is4dMat
Look At projection Based on gfm code