etk/class_etk__Vector4D.html

355 lines
25 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>etk Library</title>
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="menu.css">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="container">
<h1><a href="index.html">etk library</a></h1>
<h4><a href="http://github.com/heeroyui/etk/">&nbsp;&nbsp;&nbsp;[ sources ]</a></h4>
<h3>API:</h3> <div id="menu">
<ul class="niveau1">
<li class="sousmenu"><a href="namespace_etk.html">etk</a>
<ul class="niveau2">
<li><a href="namespace_etk__color.html">color</a>
</li>
<li><a href="namespace_etk__tool.html">tool</a>
</li>
<li><a href="namespace_etk__archive.html">archive</a>
</li>
<li><a href="namespace_etk__theme.html">theme</a>
</li>
</ul>
</li>
<li><a href="namespace_u32char.html">u32char</a>
</li>
<li><a href="namespace_utf8.html">utf8</a>
</li>
<li><a href="namespace_std.html">std</a>
</li>
<li><a href="namespace_debug.html">debug</a>
</li>
</ul>
</div>
<br/><h3>Associate libraries:</h3><div id="menu">
<ul class="niveau1"><li><a href="../ewol/index.html">ewol</a></li>
</ul><ul class="niveau1"><li><a href="../ejson/index.html">ejson</a></li>
</ul><ul class="niveau1"><li><a href="../egami/index.html">egami</a></li>
</ul><ul class="niveau1"><li><a href="../ege/index.html">ege</a></li>
</ul><ul class="niveau1"><li><a href="../esvg/index.html">esvg</a></li>
</ul><ul class="niveau1"><li><a href="../exml/index.html">exml</a></li>
</ul></div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
</div>
<div class="container" id="content">
<h1>class: etk::Vector4D</h1><hr/><h2>Description:</h2>
<br/><br/>
<h2>Constructor and Destructor:</h2>
<pre>
+ <a class="code-function" href="#8734">Vector4D</a> (<span class="code-type" >void</span> <span class="code-argument"></span>);<br/>+ <a class="code-function" href="#8736">Vector4D</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_x</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_y</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_z</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_w</span>);<br/></pre>
<br/>
<h2>Synopsis:</h2>
<pre>
+ <span class="code-type" >T</span> <a class="code-member" href="#8733">m_floats</a>;<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8741">operator +=</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/>+ Vector4D&lt;T&gt; <a class="code-function" href="#8743">operator +</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8745">operator -=</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/>+ Vector4D&lt;T&gt; <a class="code-function" href="#8747">operator -</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8749">operator *=</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">s</span>);<br/>+ Vector4D&lt;T&gt; <a class="code-function" href="#8751">operator *</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">s</span>);<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8753">operator =</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">s</span>);<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8755">operator =</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">s</span>);<br/>+ <span class="code-type" >float</span> <a class="code-function" href="#8757">dot</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >float</span> <a class="code-function" href="#8759">length2</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >float</span> <a class="code-function" href="#8760">length</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >float</span> <a class="code-function" href="#8761">distance2</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >float</span> <a class="code-function" href="#8763">distance</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>) <span class="code-storage-keyword">const</span>;<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8765">normalize</a> ();<br/>+ Vector4D&lt;T&gt; <a class="code-function" href="#8766">normalized</a> () <span class="code-storage-keyword">const</span>;<br/>+ Vector4D&lt;T&gt; <a class="code-function" href="#8767">absolute</a> (<span class="code-type" >void</span> <span class="code-argument"></span>) <span class="code-storage-keyword">const</span>;<br/>+ Vector4D&lt;T&gt; & <a class="code-function" href="#8769">operator *=</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/>+ Vector4D&lt;T&gt; <a class="code-function" href="#8771">operator *</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8773">getX</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8774">getY</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8775">getZ</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8776">getW</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8777">setX</a> (<span class="code-type" >T</span> <span class="code-argument">_x</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8779">setY</a> (<span class="code-type" >T</span> <span class="code-argument">_y</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8781">setZ</a> (<span class="code-type" >T</span> <span class="code-argument">_z</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8783">setW</a> (<span class="code-type" >T</span> <span class="code-argument">_w</span>);<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8785">x</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8786">y</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8787">z</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <a class="code-function" href="#8788">w</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-function" href="#8789">operator T *</a> ();<br/>+ <a class="code-function" href="#8790">operator const T *</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#8791">operator ==</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#8793">operator !=</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>) <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8795">setMax</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8797">setMin</a> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8799">setValue</a> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_x</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_y</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_z</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_w</span>);<br/>+ <span class="code-type" >void</span> <a class="code-function" href="#8804">setZero</a> (<span class="code-type" >void</span> <span class="code-argument"></span>);<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#8806">isZero</a> (<span class="code-type" >void</span> <span class="code-argument"></span>) <span class="code-storage-keyword">const</span>;<br/></pre>
<br/>
<h2>Detail:</h2>
<a id="8733"/><a id="8734"/><h3>m_floats</h3><pre>
+ <span class="code-type" >T</span> <span class="code-member">m_floats</span>;<br/></pre>
<br/>
<br/>
<hr/>
<a id="8736"/><h3>Vector4D</h3><pre>
+ <span class="code-function">Vector4D</span> (<span class="code-type" >void</span> <span class="code-argument"></span>);<br/></pre>
No initialization constructor (faster ...)<br/>
<br/>
<hr/>
<a id="8741"/><h3>Vector4D</h3><pre>
+ <span class="code-function">Vector4D</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_x</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_y</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_z</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_w</span>);<br/></pre>
Constructor from scalars <br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">x</span> </td><td> X value</td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">y</span> </td><td> Y value </td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">z</span> </td><td> Z value</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8743"/><h3>operator +=</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">operator +=</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/></pre>
Add a vector to this one <br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">The</span> </td><td> vector to add to this one</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8745"/><h3>operator +</h3><pre>
+ Vector4D&lt;T&gt; <span class="code-function">operator +</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="8747"/><h3>operator -=</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">operator -=</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/></pre>
Subtract a vector from this one<br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">The</span> </td><td> vector to subtract</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8749"/><h3>operator -</h3><pre>
+ Vector4D&lt;T&gt; <span class="code-function">operator -</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="8751"/><h3>operator *=</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">operator *=</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">s</span>);<br/></pre>
Scale the vector<br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">s</span> </td><td> Scale factor</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8753"/><h3>operator *</h3><pre>
+ Vector4D&lt;T&gt; <span class="code-function">operator *</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">s</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="8755"/><h3>operator =</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">operator =</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">s</span>);<br/></pre>
Inversely scale the vector <br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">s</span> </td><td> Scale factor to divide by</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8757"/><h3>operator =</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">operator =</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">s</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="8759"/><h3>dot</h3><pre>
+ <span class="code-type" >float</span> <span class="code-function">dot</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
Return the dot product<br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">v</span> </td><td> The other vector in the dot product</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8760"/><h3>length2</h3><pre>
+ <span class="code-type" >float</span> <span class="code-function">length2</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the length of the vector squared<br/>
<br/>
<hr/>
<a id="8761"/><h3>length</h3><pre>
+ <span class="code-type" >float</span> <span class="code-function">length</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the length of the vector<br/>
<br/>
<hr/>
<a id="8763"/><h3>distance2</h3><pre>
+ <span class="code-type" >float</span> <span class="code-function">distance2</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
Return the distance squared between the ends of this and another vector
This is symantically treating the vector like a point<br/>
<br/>
<hr/>
<a id="8765"/><h3>distance</h3><pre>
+ <span class="code-type" >float</span> <span class="code-function">distance</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
Return the distance between the ends of this and another vector
This is symantically treating the vector like a point<br/>
<br/>
<hr/>
<a id="8766"/><h3>normalize</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">normalize</span> ();<br/></pre>
Normalize this vector
x^2 + y^2 + z^2 = 1<br/>
<br/>
<hr/>
<a id="8767"/><h3>normalized</h3><pre>
+ Vector4D&lt;T&gt; <span class="code-function">normalized</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return a normalized version of this vector<br/>
<br/>
<hr/>
<a id="8769"/><h3>absolute</h3><pre>
+ Vector4D&lt;T&gt; <span class="code-function">absolute</span> (<span class="code-type" >void</span> <span class="code-argument"></span>) <span class="code-storage-keyword">const</span>;<br/></pre>
Return a rotated version of this vector<br/>Return the angle between this and another vector<br/>Return a vector will the absolute values of each element<br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">wAxis</span> </td><td> The axis to rotate about</td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">angle</span> </td><td> The angle to rotate by</td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">v</span> </td><td> The other vector</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8771"/><h3>operator *=</h3><pre>
+ Vector4D&lt;T&gt; & <span class="code-function">operator *=</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/></pre>
Return the cross product between this and another vector<br/>Return the axis with the smallest value
Note return values are 0,1,2 for x, y, or z<br/>Return the axis with the largest value
Note return values are 0,1,2 for x, y, or z<br/>Return the linear interpolation between this and another vector <br/>Elementwise multiply this vector by the other <br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">v</span> </td><td> The other vector</td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">v</span> </td><td> The other vector </td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">t</span> </td><td> The ration of this to v (t = 0 =&gt; return this, t=1 =&gt; return other)</td></tr>
<td><b>Parameter:</b></td><td><span class="code-argument">v</span> </td><td> The other vector</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8773"/><h3>operator *</h3><pre>
+ Vector4D&lt;T&gt; <span class="code-function">operator *</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">v</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="8774"/><h3>getX</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">getX</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the x value<br/>
<br/>
<hr/>
<a id="8775"/><h3>getY</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">getY</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the y value<br/>
<br/>
<hr/>
<a id="8776"/><h3>getZ</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">getZ</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the z value<br/>
<br/>
<hr/>
<a id="8777"/><h3>getW</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">getW</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the z value<br/>
<br/>
<hr/>
<a id="8779"/><h3>setX</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setX</span> (<span class="code-type" >T</span> <span class="code-argument">_x</span>);<br/></pre>
Set the x value<br/>
<br/>
<hr/>
<a id="8781"/><h3>setY</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setY</span> (<span class="code-type" >T</span> <span class="code-argument">_y</span>);<br/></pre>
Set the y value<br/>
<br/>
<hr/>
<a id="8783"/><h3>setZ</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setZ</span> (<span class="code-type" >T</span> <span class="code-argument">_z</span>);<br/></pre>
Set the z value<br/>
<br/>
<hr/>
<a id="8785"/><h3>setW</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setW</span> (<span class="code-type" >T</span> <span class="code-argument">_w</span>);<br/></pre>
Set the w value<br/>
<br/>
<hr/>
<a id="8786"/><h3>x</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">x</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the x value<br/>
<br/>
<hr/>
<a id="8787"/><h3>y</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">y</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the y value<br/>
<br/>
<hr/>
<a id="8788"/><h3>z</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">z</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the z value<br/>
<br/>
<hr/>
<a id="8789"/><h3>w</h3><pre>
+ <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-function">w</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Return the w value<br/>
<br/>
<hr/>
<a id="8790"/><h3>operator T *</h3><pre>
+ <span class="code-function">operator T *</span> ();<br/></pre>
<br/>
<br/>
<hr/>
<a id="8791"/><h3>operator const T *</h3><pre>
+ <span class="code-function">operator const T *</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
<br/>
<br/>
<hr/>
<a id="8793"/><h3>operator ==</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">operator ==</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
<br/>
<br/>
<hr/>
<a id="8795"/><h3>operator !=</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">operator !=</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
<br/>
<br/>
<hr/>
<a id="8797"/><h3>setMax</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setMax</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>);<br/></pre>
Set each element to the max of the current values and the values of another btVector3<br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">other</span> </td><td> The other btVector3 to compare with</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8799"/><h3>setMin</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setMin</span> (<span class="code-storage-keyword">const</span> Vector4D&lt;T&gt; & <span class="code-argument">other</span>);<br/></pre>
Set each element to the min of the current values and the values of another btVector3<br/><ul>
<table class="parameter-list">
<td><b>Parameter:</b></td><td><span class="code-argument">other</span> </td><td> The other btVector3 to compare with</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="8804"/><h3>setValue</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setValue</span> (<span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_x</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_y</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_z</span>,<br/> <span class="code-storage-keyword">const</span> <span class="code-type" >T</span> & <span class="code-argument">_w</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="8806"/><h3>setZero</h3><pre>
+ <span class="code-type" >void</span> <span class="code-function">setZero</span> (<span class="code-type" >void</span> <span class="code-argument"></span>);<br/></pre>
<br/>
<br/>
<hr/>
<h3>isZero</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isZero</span> (<span class="code-type" >void</span> <span class="code-argument"></span>) <span class="code-storage-keyword">const</span>;<br/></pre>
<br/>
<br/>
<hr/>
</div>
</body>
</html>