SWF_PERSPECTIVE(3) 1 SWF_PERSPECTIVE(3)
swf_perspective - Define a perspective projection transformation
SYNOPSIS
void swf_perspective (float $fovy, float $aspect, float $near, float $far)
DESCRIPTION
Defines a perspective projection transformation.
Note
Various distortion artifacts may appear when performing a perspective projection, this is because Flash players only have a two
dimensional matrix. Some are not to pretty.
PARAMETERS
o $fovy
- A field-of-view angle in the y direction.
o $aspect
- The aspect ratio of the viewport that is being drawn onto.
o $near
- The near clipping plane.
o $far
- The far clipping plane.
RETURN VALUES
No value is returned.
PHP Documentation Group SWF_PERSPECTIVE(3)