View Single Post
  #2  
Old 05-02-2006, 02:06 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Just change the position of the second vertex:
Code:
gaze.vertex(1,x,y,z)
If you are going to be changing the vertex frequently then add the following line of code after you create the gaze line:
Code:
gaze.dynamic()
This will speed up rendering.
Reply With Quote