C3DCamera::Orient

Top  Previous  Next

Syntax:
 
Orient(float  DirX, float  DirY, float  DirZ, float  ux, float  uy, float  uz)
 
Purpose:
Aligns a camera so that its z-direction points along the direction vector [DirX, DirY, DirZ] and its y-direction aligns with the vector [ux, uy, uz].

 
Parameters:
DirX, DirY, DirZ - The new direction vector.

ux, uy, uz - The new up vector.
 
Returned value(s):
None

 
Application:

c.Create(s)
c.Position(0,0,-8)
c.Orient(0,0,1,0,1,0)
c.SetBackPlane(500)