extractEyePoint

fun extractEyePoint(result: Vec3): Vec3

Returns this viewing matrix's eye point. In model coordinates, a viewing matrix's eye point is the point the viewer is looking from and maps to the center of the screen.
The result of this method is undefined if this matrix is not a viewing matrix.

Return

the specified result argument containing the viewing matrix's eye point

Parameters

result

a pre-allocated Vec3 in which to return the extracted value