diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/classPxVec4.html | |
| download | physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip | |
Initial commit:
PhysX 3.4.0 Update @ 21294896
APEX 1.4.0 Update @ 21275617
[CL 21300167]
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxVec4.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/classPxVec4.html | 1052 |
1 files changed, 1052 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec4.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec4.html new file mode 100644 index 00000000..71de3eb7 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec4.html @@ -0,0 +1,1052 @@ +<html> + <head> + <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVec4 Class Reference</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css"> + </head> + + <body bgcolor="#FFFFFF"> + <div id="header"> + <hr class="first"> + <img alt="" src="images/PhysXlogo.png" align="middle"> <br> + <center> + <a class="qindex" href="main.html">Main Page</a> + <a class="qindex" href="hierarchy.html">Class Hierarchy</a> + <a class="qindex" href="annotated.html">Compound List</a> + <a class="qindex" href="functions.html">Compound Members</a> + </center> + <hr class="second"> + </div> +<!-- Generated by Doxygen 1.5.8 --> +<div class="contents"> +<h1>PxVec4 Class Reference<br> +<small> +[<a class="el" href="group__foundation.html">Foundation</a>]</small> +</h1><!-- doxytag: class="PxVec4" -->4 Element vector class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="PxVec4_8h-source.html">PxVec4.h</a>></code> +<p> + +<p> +<a href="classPxVec4-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> +<tr><td></td></tr> +<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#f58c1ce0c441477e95bf94d9c972055f">PxVec4</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor leaves data uninitialized. <a href="#f58c1ce0c441477e95bf94d9c972055f"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_FORCE_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#e1b794ea59ecae18c88f3d6a6ac9213d">PxVec4</a> (<a class="el" href="group__foundation.html#gc10bd69c94c165a52f6de39678ef9d4c">PxZERO</a> r)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">zero constructor. <a href="#e1b794ea59ecae18c88f3d6a6ac9213d"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#fd19aec6c7311f6e2fd21b13cda157bd">PxVec4</a> (float a)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Assigns scalar parameter to all elements. <a href="#fd19aec6c7311f6e2fd21b13cda157bd"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#d3833361ef3e14f3f5c8f5af5d5c5684">PxVec4</a> (float nx, float ny, float nz, float nw)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes from 3 scalar parameters. <a href="#d3833361ef3e14f3f5c8f5af5d5c5684"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#4f2832b0005e37138fa3a2a2b41b0076">PxVec4</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v, float nw)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes from 3 scalar parameters. <a href="#4f2832b0005e37138fa3a2a2b41b0076"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#719a2783335631f273eb46c6f4a61925">PxVec4</a> (const float v[])</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes from an array of scalar parameters. <a href="#719a2783335631f273eb46c6f4a61925"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#ea852eee7dfce9fe3749ef028b85f070">PxVec4</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#ea852eee7dfce9fe3749ef028b85f070"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#ccb157828284af88b6605f28c3f186e5">operator=</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &p)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#ccb157828284af88b6605f28c3f186e5"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_DEPRECATED PX_CUDA_CALLABLE <br class="typebreak"> +PX_INLINE float & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#b99a22543b09188d3677461ee1016ab4">operator[]</a> (unsigned int index)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element access <a href="#b99a22543b09188d3677461ee1016ab4"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_DEPRECATED PX_CUDA_CALLABLE <br class="typebreak"> +PX_INLINE const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#dccc186308bad92528570f565a17cb54">operator[]</a> (unsigned int index) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element access <a href="#dccc186308bad92528570f565a17cb54"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#770c7ac32c499285f501cd70c9be16a9">operator==</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if the two vectors are exactly equal. <a href="#770c7ac32c499285f501cd70c9be16a9"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#a671079e351b6cb053b33c475da4b664">operator!=</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if the two vectors are not exactly equal. <a href="#a671079e351b6cb053b33c475da4b664"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#8c08d3fbdb658c03f015c86cf0bf374f">isZero</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tests for exact zero vector <a href="#8c08d3fbdb658c03f015c86cf0bf374f"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#9de50dfeb43cbe5566642f2d56b7d0c8">isFinite</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if all 3 elems of the vector are finite (not NAN or INF, etc.) <a href="#9de50dfeb43cbe5566642f2d56b7d0c8"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#dd5fdacb0f9ab7870cce4751092c5165">isNormalized</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">is normalized - used by API parameter validation <a href="#dd5fdacb0f9ab7870cce4751092c5165"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#ebdbd51adb5f4896f2d2997201b67621">magnitudeSquared</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the squared magnitude <a href="#ebdbd51adb5f4896f2d2997201b67621"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#94bb6fb85be602331482909c05a65bfa">magnitude</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the magnitude <a href="#94bb6fb85be602331482909c05a65bfa"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#0aed5f572dbefae9c08c9bdbc0ed5cce">operator-</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">negation <a href="#0aed5f572dbefae9c08c9bdbc0ed5cce"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#510907b0bd63c5a4b8f036974d63b715">operator+</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector addition <a href="#510907b0bd63c5a4b8f036974d63b715"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#af14b0abf9c9eeb6cc5d4d8e11932961">operator-</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector difference <a href="#af14b0abf9c9eeb6cc5d4d8e11932961"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#83b8b1876adfff5c140f8d20a727a063">operator*</a> (float f) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar post-multiplication <a href="#83b8b1876adfff5c140f8d20a727a063"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#76b017254ffc69548c4fd3d5c66ec82c">operator/</a> (float f) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar division <a href="#76b017254ffc69548c4fd3d5c66ec82c"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#97fc9397fdd8da4b2a5d3eae7e61445e">operator+=</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector addition <a href="#97fc9397fdd8da4b2a5d3eae7e61445e"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#ed87f6484ead2af7c0ef02a398acad28">operator-=</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector difference <a href="#ed87f6484ead2af7c0ef02a398acad28"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#014f8f2fd277438e7df373955b22a44f">operator*=</a> (float f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar multiplication <a href="#014f8f2fd277438e7df373955b22a44f"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#783b7847ca910e74c9ca9558bf8f1c3f">operator/=</a> (float f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar division <a href="#783b7847ca910e74c9ca9558bf8f1c3f"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#3fdaa88c7a4fcc660d0cd858bbde1012">dot</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the scalar product of this and other. <a href="#3fdaa88c7a4fcc660d0cd858bbde1012"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#c581127915a891d9ccbeda7632d6d143">getNormalized</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#1c40877f3e03054cbd08a48fc9039cd4">normalize</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">normalizes the vector in place <a href="#1c40877f3e03054cbd08a48fc9039cd4"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#22f2ffe5c7aaa8bd9489c7f5a773b89c">multiply</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &a) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">a[i] * b[i], for all i. <a href="#22f2ffe5c7aaa8bd9489c7f5a773b89c"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#d39b7a77905770d920c05ccfb36c5600">minimum</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element-wise minimum <a href="#d39b7a77905770d920c05ccfb36c5600"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#ef37c724a2b72c3d191759c83fc844a0">maximum</a> (const <a class="el" href="classPxVec4.html">PxVec4</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element-wise maximum <a href="#ef37c724a2b72c3d191759c83fc844a0"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#b55d79de5b719a1cf3d9156497c06ad3">getXYZ</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#9277eee047f78d606c60d57c8726b1f1">setZero</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set vector elements to zero <a href="#9277eee047f78d606c60d57c8726b1f1"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#aa55803d5db9a7cc8b2ee3c6f89cbe72">x</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#390f697b94d16b33cebb5d9f5be93e99">y</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#d3f9d14a8b8a56f9eb3bc2d570baf177">z</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec4.html#013d7a6e489c7361cbd602fcab6c9e29">w</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +4 Element vector class. +<p> +This is a 4-dimensional vector class with public data members. <hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="f58c1ce0c441477e95bf94d9c972055f"></a><!-- doxytag: member="PxVec4::PxVec4" ref="f58c1ce0c441477e95bf94d9c972055f" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +default constructor leaves data uninitialized. +<p> + +</div> +</div><p> +<a class="anchor" name="e1b794ea59ecae18c88f3d6a6ac9213d"></a><!-- doxytag: member="PxVec4::PxVec4" ref="e1b794ea59ecae18c88f3d6a6ac9213d" args="(PxZERO r)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramtype"><a class="el" href="group__foundation.html#gc10bd69c94c165a52f6de39678ef9d4c">PxZERO</a> </td> + <td class="paramname"> <em>r</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +zero constructor. +<p> + +<p>References <a class="el" href="PxPreprocessor_8h-source.html#l00456">PX_UNUSED()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="fd19aec6c7311f6e2fd21b13cda157bd"></a><!-- doxytag: member="PxVec4::PxVec4" ref="fd19aec6c7311f6e2fd21b13cda157bd" args="(float a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>a</em> </td> + <td> ) </td> + <td><code> [inline, explicit]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Assigns scalar parameter to all elements. +<p> +Useful to initialize to zero or one.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>a</em> </td><td>Value to assign to elements. </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="d3833361ef3e14f3f5c8f5af5d5c5684"></a><!-- doxytag: member="PxVec4::PxVec4" ref="d3833361ef3e14f3f5c8f5af5d5c5684" args="(float nx, float ny, float nz, float nw)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>nx</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"> <em>ny</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"> <em>nz</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"> <em>nw</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Initializes from 3 scalar parameters. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nx</em> </td><td>Value to initialize X component. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>ny</em> </td><td>Value to initialize Y component. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nz</em> </td><td>Value to initialize Z component. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nw</em> </td><td>Value to initialize W component. </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="4f2832b0005e37138fa3a2a2b41b0076"></a><!-- doxytag: member="PxVec4::PxVec4" ref="4f2832b0005e37138fa3a2a2b41b0076" args="(const PxVec3 &v, float nw)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"> <em>nw</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Initializes from 3 scalar parameters. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>v</em> </td><td>Value to initialize the X, Y, and Z components. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nw</em> </td><td>Value to initialize W component. </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="719a2783335631f273eb46c6f4a61925"></a><!-- doxytag: member="PxVec4::PxVec4" ref="719a2783335631f273eb46c6f4a61925" args="(const float v[])" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramtype">const float </td> + <td class="paramname"> <em>v</em>[] </td> + <td> ) </td> + <td><code> [inline, explicit]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Initializes from an array of scalar parameters. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>v</em> </td><td>Value to initialize with. </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="ea852eee7dfce9fe3749ef028b85f070"></a><!-- doxytag: member="PxVec4::PxVec4" ref="ea852eee7dfce9fe3749ef028b85f070" args="(const PxVec4 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE PxVec4::PxVec4 </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Copy ctor. +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="3fdaa88c7a4fcc660d0cd858bbde1012"></a><!-- doxytag: member="PxVec4::dot" ref="3fdaa88c7a4fcc660d0cd858bbde1012" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE float PxVec4::dot </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns the scalar product of this and other. +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="c581127915a891d9ccbeda7632d6d143"></a><!-- doxytag: member="PxVec4::getNormalized" ref="c581127915a891d9ccbeda7632d6d143" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::getNormalized </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +return a unit vector +<p>References <a class="el" href="PxMath_8h-source.html#l00156">PxRecipSqrt()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="b55d79de5b719a1cf3d9156497c06ad3"></a><!-- doxytag: member="PxVec4::getXYZ" ref="b55d79de5b719a1cf3d9156497c06ad3" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec4::getXYZ </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<a class="anchor" name="9de50dfeb43cbe5566642f2d56b7d0c8"></a><!-- doxytag: member="PxVec4::isFinite" ref="9de50dfeb43cbe5566642f2d56b7d0c8" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec4::isFinite </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns true if all 3 elems of the vector are finite (not NAN or INF, etc.) +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00292">PxIsFinite()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="dd5fdacb0f9ab7870cce4751092c5165"></a><!-- doxytag: member="PxVec4::isNormalized" ref="dd5fdacb0f9ab7870cce4751092c5165" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec4::isNormalized </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +is normalized - used by API parameter validation +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00107">PxAbs()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="8c08d3fbdb658c03f015c86cf0bf374f"></a><!-- doxytag: member="PxVec4::isZero" ref="8c08d3fbdb658c03f015c86cf0bf374f" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec4::isZero </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +tests for exact zero vector +<p> + +</div> +</div><p> +<a class="anchor" name="94bb6fb85be602331482909c05a65bfa"></a><!-- doxytag: member="PxVec4::magnitude" ref="94bb6fb85be602331482909c05a65bfa" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE float PxVec4::magnitude </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns the magnitude +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00144">PxSqrt()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="ebdbd51adb5f4896f2d2997201b67621"></a><!-- doxytag: member="PxVec4::magnitudeSquared" ref="ebdbd51adb5f4896f2d2997201b67621" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE float PxVec4::magnitudeSquared </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns the squared magnitude +<p> +Avoids calling <a class="el" href="group__foundation.html#g11d5e4e77acad728886b380b5f3806f0" title="Square root.">PxSqrt()</a>! +</div> +</div><p> +<a class="anchor" name="ef37c724a2b72c3d191759c83fc844a0"></a><!-- doxytag: member="PxVec4::maximum" ref="ef37c724a2b72c3d191759c83fc844a0" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::maximum </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element-wise maximum +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00070">PxMax()</a>, <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="d39b7a77905770d920c05ccfb36c5600"></a><!-- doxytag: member="PxVec4::minimum" ref="d39b7a77905770d920c05ccfb36c5600" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::minimum </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element-wise minimum +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00086">PxMin()</a>, <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="22f2ffe5c7aaa8bd9489c7f5a773b89c"></a><!-- doxytag: member="PxVec4::multiply" ref="22f2ffe5c7aaa8bd9489c7f5a773b89c" args="(const PxVec4 &a) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::multiply </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>a</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +a[i] * b[i], for all i. +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="1c40877f3e03054cbd08a48fc9039cd4"></a><!-- doxytag: member="PxVec4::normalize" ref="1c40877f3e03054cbd08a48fc9039cd4" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE float PxVec4::normalize </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +normalizes the vector in place +<p> + +</div> +</div><p> +<a class="anchor" name="a671079e351b6cb053b33c475da4b664"></a><!-- doxytag: member="PxVec4::operator!=" ref="a671079e351b6cb053b33c475da4b664" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec4::operator!= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns true if the two vectors are not exactly equal. +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="83b8b1876adfff5c140f8d20a727a063"></a><!-- doxytag: member="PxVec4::operator*" ref="83b8b1876adfff5c140f8d20a727a063" args="(float f) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::operator* </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar post-multiplication +<p> + +</div> +</div><p> +<a class="anchor" name="014f8f2fd277438e7df373955b22a44f"></a><!-- doxytag: member="PxVec4::operator*=" ref="014f8f2fd277438e7df373955b22a44f" args="(float f)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a>& PxVec4::operator*= </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar multiplication +<p> + +</div> +</div><p> +<a class="anchor" name="510907b0bd63c5a4b8f036974d63b715"></a><!-- doxytag: member="PxVec4::operator+" ref="510907b0bd63c5a4b8f036974d63b715" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::operator+ </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector addition +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="97fc9397fdd8da4b2a5d3eae7e61445e"></a><!-- doxytag: member="PxVec4::operator+=" ref="97fc9397fdd8da4b2a5d3eae7e61445e" args="(const PxVec4 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a>& PxVec4::operator+= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector addition +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="af14b0abf9c9eeb6cc5d4d8e11932961"></a><!-- doxytag: member="PxVec4::operator-" ref="af14b0abf9c9eeb6cc5d4d8e11932961" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::operator- </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector difference +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="0aed5f572dbefae9c08c9bdbc0ed5cce"></a><!-- doxytag: member="PxVec4::operator-" ref="0aed5f572dbefae9c08c9bdbc0ed5cce" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::operator- </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +negation +<p> + +</div> +</div><p> +<a class="anchor" name="ed87f6484ead2af7c0ef02a398acad28"></a><!-- doxytag: member="PxVec4::operator-=" ref="ed87f6484ead2af7c0ef02a398acad28" args="(const PxVec4 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a>& PxVec4::operator-= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector difference +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="76b017254ffc69548c4fd3d5c66ec82c"></a><!-- doxytag: member="PxVec4::operator/" ref="76b017254ffc69548c4fd3d5c66ec82c" args="(float f) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a> PxVec4::operator/ </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar division +<p> + +</div> +</div><p> +<a class="anchor" name="783b7847ca910e74c9ca9558bf8f1c3f"></a><!-- doxytag: member="PxVec4::operator/=" ref="783b7847ca910e74c9ca9558bf8f1c3f" args="(float f)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a>& PxVec4::operator/= </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar division +<p> + +</div> +</div><p> +<a class="anchor" name="ccb157828284af88b6605f28c3f186e5"></a><!-- doxytag: member="PxVec4::operator=" ref="ccb157828284af88b6605f28c3f186e5" args="(const PxVec4 &p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE <a class="el" href="classPxVec4.html">PxVec4</a>& PxVec4::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>p</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Assignment operator. +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="770c7ac32c499285f501cd70c9be16a9"></a><!-- doxytag: member="PxVec4::operator==" ref="770c7ac32c499285f501cd70c9be16a9" args="(const PxVec4 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec4::operator== </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec4.html">PxVec4</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns true if the two vectors are exactly equal. +<p> + +<p>References <a class="el" href="PxVec4_8h-source.html#l00363">w</a>, <a class="el" href="PxVec4_8h-source.html#l00363">x</a>, <a class="el" href="PxVec4_8h-source.html#l00363">y</a>, and <a class="el" href="PxVec4_8h-source.html#l00363">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="dccc186308bad92528570f565a17cb54"></a><!-- doxytag: member="PxVec4::operator[]" ref="dccc186308bad92528570f565a17cb54" args="(unsigned int index) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_DEPRECATED PX_CUDA_CALLABLE PX_INLINE const float& PxVec4::operator[] </td> + <td>(</td> + <td class="paramtype">unsigned int </td> + <td class="paramname"> <em>index</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element access +<p> + +<p>References <a class="el" href="PxAssert_8h-source.html#l00061">PX_ASSERT</a>.</p> + +</div> +</div><p> +<a class="anchor" name="b99a22543b09188d3677461ee1016ab4"></a><!-- doxytag: member="PxVec4::operator[]" ref="b99a22543b09188d3677461ee1016ab4" args="(unsigned int index)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_DEPRECATED PX_CUDA_CALLABLE PX_INLINE float& PxVec4::operator[] </td> + <td>(</td> + <td class="paramtype">unsigned int </td> + <td class="paramname"> <em>index</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element access +<p> + +<p>References <a class="el" href="PxAssert_8h-source.html#l00061">PX_ASSERT</a>.</p> + +</div> +</div><p> +<a class="anchor" name="9277eee047f78d606c60d57c8726b1f1"></a><!-- doxytag: member="PxVec4::setZero" ref="9277eee047f78d606c60d57c8726b1f1" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE void PxVec4::setZero </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +set vector elements to zero +<p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="013d7a6e489c7361cbd602fcab6c9e29"></a><!-- doxytag: member="PxVec4::w" ref="013d7a6e489c7361cbd602fcab6c9e29" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec4.html#013d7a6e489c7361cbd602fcab6c9e29">PxVec4::w</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxVec4_8h-source.html#l00302">dot()</a>, <a class="el" href="PxVec4_8h-source.html#l00345">maximum()</a>, <a class="el" href="PxVec4_8h-source.html#l00337">minimum()</a>, <a class="el" href="PxVec4_8h-source.html#l00329">multiply()</a>, <a class="el" href="PxVec4_8h-source.html#l00161">operator!=()</a>, <a class="el" href="PxVec4_8h-source.html#l00366">operator*()</a>, <a class="el" href="PxVec4_8h-source.html#l00220">operator+()</a>, <a class="el" href="PxVec4_8h-source.html#l00254">operator+=()</a>, <a class="el" href="PxVec4_8h-source.html#l00228">operator-()</a>, <a class="el" href="PxVec4_8h-source.html#l00266">operator-=()</a>, <a class="el" href="PxVec4_8h-source.html#l00121">operator=()</a>, <a class="el" href="PxVec4_8h-source.html#l00153">operator==()</a>, <a class="el" href="PxMat44_8h-source.html#l00334">PxMat44::scale()</a>, and <a class="el" href="PxMat44_8h-source.html#l00279">PxMat44::transform()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="aa55803d5db9a7cc8b2ee3c6f89cbe72"></a><!-- doxytag: member="PxVec4::x" ref="aa55803d5db9a7cc8b2ee3c6f89cbe72" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec4.html#aa55803d5db9a7cc8b2ee3c6f89cbe72">PxVec4::x</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxVec4_8h-source.html#l00302">dot()</a>, <a class="el" href="PxVec4_8h-source.html#l00345">maximum()</a>, <a class="el" href="PxVec4_8h-source.html#l00337">minimum()</a>, <a class="el" href="PxVec4_8h-source.html#l00329">multiply()</a>, <a class="el" href="PxVec4_8h-source.html#l00161">operator!=()</a>, <a class="el" href="PxVec4_8h-source.html#l00366">operator*()</a>, <a class="el" href="PxVec4_8h-source.html#l00220">operator+()</a>, <a class="el" href="PxVec4_8h-source.html#l00254">operator+=()</a>, <a class="el" href="PxVec4_8h-source.html#l00228">operator-()</a>, <a class="el" href="PxVec4_8h-source.html#l00266">operator-=()</a>, <a class="el" href="PxVec4_8h-source.html#l00121">operator=()</a>, <a class="el" href="PxVec4_8h-source.html#l00153">operator==()</a>, <a class="el" href="PxMat44_8h-source.html#l00361">PxTransform::PxTransform()</a>, <a class="el" href="PxMat44_8h-source.html#l00291">PxMat44::rotate()</a>, <a class="el" href="PxMat44_8h-source.html#l00334">PxMat44::scale()</a>, and <a class="el" href="PxMat44_8h-source.html#l00279">PxMat44::transform()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="390f697b94d16b33cebb5d9f5be93e99"></a><!-- doxytag: member="PxVec4::y" ref="390f697b94d16b33cebb5d9f5be93e99" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec4.html#390f697b94d16b33cebb5d9f5be93e99">PxVec4::y</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxVec4_8h-source.html#l00302">dot()</a>, <a class="el" href="PxVec4_8h-source.html#l00345">maximum()</a>, <a class="el" href="PxVec4_8h-source.html#l00337">minimum()</a>, <a class="el" href="PxVec4_8h-source.html#l00329">multiply()</a>, <a class="el" href="PxVec4_8h-source.html#l00161">operator!=()</a>, <a class="el" href="PxVec4_8h-source.html#l00366">operator*()</a>, <a class="el" href="PxVec4_8h-source.html#l00220">operator+()</a>, <a class="el" href="PxVec4_8h-source.html#l00254">operator+=()</a>, <a class="el" href="PxVec4_8h-source.html#l00228">operator-()</a>, <a class="el" href="PxVec4_8h-source.html#l00266">operator-=()</a>, <a class="el" href="PxVec4_8h-source.html#l00121">operator=()</a>, <a class="el" href="PxVec4_8h-source.html#l00153">operator==()</a>, <a class="el" href="PxMat44_8h-source.html#l00361">PxTransform::PxTransform()</a>, <a class="el" href="PxMat44_8h-source.html#l00291">PxMat44::rotate()</a>, <a class="el" href="PxMat44_8h-source.html#l00334">PxMat44::scale()</a>, and <a class="el" href="PxMat44_8h-source.html#l00279">PxMat44::transform()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="d3f9d14a8b8a56f9eb3bc2d570baf177"></a><!-- doxytag: member="PxVec4::z" ref="d3f9d14a8b8a56f9eb3bc2d570baf177" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec4.html#d3f9d14a8b8a56f9eb3bc2d570baf177">PxVec4::z</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxVec4_8h-source.html#l00302">dot()</a>, <a class="el" href="PxVec4_8h-source.html#l00345">maximum()</a>, <a class="el" href="PxVec4_8h-source.html#l00337">minimum()</a>, <a class="el" href="PxVec4_8h-source.html#l00329">multiply()</a>, <a class="el" href="PxVec4_8h-source.html#l00161">operator!=()</a>, <a class="el" href="PxVec4_8h-source.html#l00366">operator*()</a>, <a class="el" href="PxVec4_8h-source.html#l00220">operator+()</a>, <a class="el" href="PxVec4_8h-source.html#l00254">operator+=()</a>, <a class="el" href="PxVec4_8h-source.html#l00228">operator-()</a>, <a class="el" href="PxVec4_8h-source.html#l00266">operator-=()</a>, <a class="el" href="PxVec4_8h-source.html#l00121">operator=()</a>, <a class="el" href="PxVec4_8h-source.html#l00153">operator==()</a>, <a class="el" href="PxMat44_8h-source.html#l00361">PxTransform::PxTransform()</a>, <a class="el" href="PxMat44_8h-source.html#l00291">PxMat44::rotate()</a>, <a class="el" href="PxMat44_8h-source.html#l00334">PxMat44::scale()</a>, and <a class="el" href="PxMat44_8h-source.html#l00279">PxMat44::transform()</a>.</p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="PxVec4_8h-source.html">PxVec4.h</a></ul> +</div> + +<hr style="width: 100%; height: 2px;"><br> +Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a> +</body> +</html> |