dlsl v0.1.1 (2017-01-01T09:58:18Z)
Dub
Repo
lookAt
dlsl
trackball
look at function with two points and an up vector
auto
lookAt
(vec3 eye, vec3 target, vec3 up)
auto
lookAt
(
vec3
eye
,
vec3
target
=
vec3
(0)
,
vec3
up
=
vec3
(0, 1, 0)
)
auto
lookAt
(float ex, float ey, float ez, float tx, float ty, float tz, float ux, float uy, float uz)
Meta
Source
See Implementation
dlsl
trackball
functions
lookAt
structs
Trackball
variables
deg2rad
rad2deg
look at function with two points and an up vector