lookAt
fun lookAt(eyeX: Double, eyeY: Double, eyeZ: Double, centerX: Double, centerY: Double, centerZ: Double, upX: Double = 0.0, upY: Double = 1.0, upZ: Double = 0.0)
Set the camera's model matrix (position and orientation) using lookAt semantics.
Helper method to position the camera by specifying eye position, target, and up vector.
Parameters
eyeX
Camera position X (world space)
eyeY
Camera position Y (world space)
eyeZ
Camera position Z (world space)
centerX
Look-at target X (world space)
centerY
Look-at target Y (world space)
centerZ
Look-at target Z (world space)
upX
Camera up vector X (should be normalized)
upY
Camera up vector Y (should be normalized)
upZ
Camera up vector Z (should be normalized)