dlsl.trackball

dlsl.trackball

Members

Aliases

Trackball
alias Trackball = TrackballBase!false
Undocumented in source.
TrackballOrthographic
alias TrackballOrthographic = TrackballBase!true
Undocumented in source.

Functions

lookAtView
auto lookAtView(vec3 eye, vec3 target, vec3 up)

look at function with two points and an up vector, returns the view matrix (camera position and rotation matrix)

lookAtView
auto lookAtView(float ex, float ey, float ez, float tx, float ty, float tz, float ux, float uy, float uz)

look at function with nine floats representing two points and an up vector, returns the view matrix (camera position and rotation matrix)

lookAtWorld
auto lookAtWorld(vec3 eye, vec3 target, vec3 up)

look at function with two points and an up vector, returns the world matrix (inverted camera position and rotation matrix)

lookAtWorld
auto lookAtWorld(float ex, float ey, float ez, float tx, float ty, float tz, float ux, float uy, float uz)

look at function with nine floats representing two points and an up vector, returns the view matrix (inverted camera position and rotation matrix)

Variables

deg2rad
float deg2rad;
Undocumented in source.
rad2deg
float rad2deg;
Undocumented in source.

Meta

Authors

Peter Particle

License

MIT

Note: All methods marked with pure are weakly pure since, they all access an instance member. All static methods are strongly pure.