STATE_camera_point_at_2D

 

 


   Gets a two dimensional point=> (x,y) is a point in the rendered window
   Usually we get this point from events like OnLButtonDown()
   The function calculates the corresponding three dimensional point
   in the world and sets the camera to point towards this point.
   If there is no corresponding 3D point then it returns VR_ERROR
   (happens when we point to an empty place in the rendered image.
   see also STATE_camera_point_at() and STATE_engine_2D_point_to_3D();

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com