Open topic with navigation
<transform>.makeLookAt
Set matrix to a lookat matrix
<transform>.makeLookAt( |
|
eye |
center |
up |
) |
|
eye
Specifies the position of the eye point.
center
Specifies the position of the reference point (i.e. the point to look at).
up
Specifies the direction of the up vector.
Remarks
Set the position and orientation to be a view matrix, using the same convention as gluLookAt.
Return Value
None