swf_ortho

(PHP 4 >= 4.0.1, PECL)

swf_ortho --  Defines an orthographic mapping of user coordinates onto the current viewport

Description

void swf_ortho ( float xmin, float xmax, float ymin, float ymax, float zmin, float zmax )

The swf_ortho() function defines an orthographic mapping of user coordinates onto the current viewport.


add a note add a note User Contributed Notes
hotkey at hehe dot com
14-May-2001 07:15
swf_ortho() creates a 3D-matrix;
In most cases you'll only need swf_ortho2() to create a 2D-Matrix.
But you should know what's possible with a 3D-matrix: so jump to
swf_lookat() and check out an 3D-example