Function targetTo
Parameters
- out: mat4
mat4 frustum matrix will be written into
- eye: ReadonlyVec3
Position of the viewer
- target: ReadonlyVec3
Point the viewer is looking at
- up: ReadonlyVec3
vec3 pointing up
Returns mat4
out
- out: mat4
Was this helpful?
Generates a matrix that makes something look at something else.