<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Define the viewer's position with polar coordinates</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-placeobject.html">swf_placeobject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-popmatrix.html">swf_popmatrix</a></div> <div class="up"><a href="ref.swf.html">SWF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.swf-polarview" class="refentry"> <div class="refnamediv"> <h1 class="refname">swf_polarview</h1> <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">swf_polarview</span> — <span class="dc-title">Define the viewer's position with polar coordinates</span></p> </div> <div class="refsect1 description" id="refsect1-function.swf-polarview-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>swf_polarview</strong></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$dist</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$azimuth</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$incidence</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$twist</code></span> )</div> <p class="para rdfs-comment"> The <span class="function"><strong>swf_polarview()</strong></span> function defines the viewer's position in polar coordinates. </p> </div> <div class="refsect1 parameters" id="refsect1-function.swf-polarview-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">dist</code></em></span> <dd> <p class="para"> The distance between the viewpoint to the world space origin. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">azimuth</code></em></span> <dd> <p class="para"> Defines the azimuthal angle in the x,y coordinate plane, measured in distance from the y axis. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">incidence</code></em></span> <dd> <p class="para"> Defines the angle of incidence in the y,z plane, measured in distance from the z axis. The incidence angle is defined as the angle of the viewport relative to the z axis. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">twist</code></em></span> <dd> <p class="para"> Specifies the amount that the viewpoint is to be rotated about the line of sight using the right hand rule. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.swf-polarview-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-placeobject.html">swf_placeobject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-popmatrix.html">swf_popmatrix</a></div> <div class="up"><a href="ref.swf.html">SWF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>