   Draw a moving line
  Hi,How to create a line that travel straight infront of cameraI m using gluLookAt()means When I press some button a line should be created right from the position of the camerai.e cam_pos.x , cam_pos.y , cam_pos.zand and move in straight direction I want to use it as bulleti hope u people will understand it   
  I'm not exactly familier with the specifics of OGL, but the basic concept is that you would have your line in a buffer, and everytime you update the position of the line, you recopy it into the buffer.int lineX, linY;while(true) {lineX++;lineY++;buffer->CopyInto(lineData);DrawLine();};  Subtract the camera target from the camera position, normalize the result, and add that multiplied by the elapsed time and it's speed to the bullets starting position.   