blob: ea9d2ba845883d5917f5629d09a9897acd03bda7 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>FTGL: FTPoint.cpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<h1>FTPoint.cpp</h1><a href="FTPoint_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#include "<a class="code" href="FTPoint_8h.html">FTPoint.h</a>"</span>
00002
00003
<a name="l00004"></a><a class="code" href="FTPoint_8cpp.html#a0">00004</a> <span class="keywordtype">bool</span> <a class="code" href="FTPoint_8cpp.html#a0">operator == </a>( <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a> &amp;b)
00005 {
00006 <span class="keywordflow">return</span>((a.<a class="code" href="classFTPoint.html#r0">values</a>[0] == b.<a class="code" href="classFTPoint.html#r0">values</a>[0]) &amp;&amp; (a.<a class="code" href="classFTPoint.html#r0">values</a>[1] == b.<a class="code" href="classFTPoint.html#r0">values</a>[1]) &amp;&amp; (a.<a class="code" href="classFTPoint.html#r0">values</a>[2] == b.<a class="code" href="classFTPoint.html#r0">values</a>[2]));
00007 }
00008
<a name="l00009"></a><a class="code" href="FTPoint_8cpp.html#a1">00009</a> <span class="keywordtype">bool</span> <a class="code" href="FTPoint_8cpp.html#a1">operator != </a>( <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classFTPoint.html">FTPoint</a> &amp;b)
00010 {
00011 <span class="keywordflow">return</span>((a.<a class="code" href="classFTPoint.html#r0">values</a>[0] != b.<a class="code" href="classFTPoint.html#r0">values</a>[0]) || (a.<a class="code" href="classFTPoint.html#r0">values</a>[1] != b.<a class="code" href="classFTPoint.html#r0">values</a>[1]) || (a.<a class="code" href="classFTPoint.html#r0">values</a>[2] != b.<a class="code" href="classFTPoint.html#r0">values</a>[2]));
00012 }
00013
00014
<a name="l00015"></a><a class="code" href="FTPoint_8cpp.html#a2">00015</a> <a class="code" href="classFTPoint.html">FTPoint</a> <a class="code" href="FTPoint_8cpp.html#a2">operator*</a>( <span class="keywordtype">double</span> multiplier, <a class="code" href="classFTPoint.html">FTPoint</a>&amp; point)
00016 {
00017 <span class="keywordflow">return</span> point * multiplier;
00018 }
00019
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:06 2004 for FTGL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.6 </small></address>
</body>
</html>