Vizard 7 » Command Index » Vizard objects » transform » <transform>.makeLookAt
7.6

<transform>.makeLookAt

Set matrix to a lookat matrix

<transform>.makeLookAt(  
eye # [x,y,z]
center # [x,y,z]
up # [x,y,z]
)  
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