HTML5+CSS on Canvas 3D WebGL (TM) Library

setOrigin Library Method

Short Description: Set 2D Origin

Signature: taccgl.stdEye.setOrigin (x,y)
Class: Eye Class

The origin is relevant only in 2D canvas mode, while parallel projection is used. taccgl™ uses a parallel projection where all projection rays are parallel to the line from the eye point to the origin (x,y,0). Default for the origin is (0,500).

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Eye.clone - Clone Eye Object
Previous Page: Eye.parallax - Set parallax position of eye point