aboutsummaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/docs/html/vector3_8h.html
blob: d2c050221b0f223b26ebbe828f58c5348eaf8879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<title>MinGfx Toolkit: src/vector3.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">MinGfx Toolkit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">vector3.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;iostream&gt;</code><br />
<code>#include &quot;<a class="el" href="point3_8h_source.html">point3.h</a>&quot;</code><br />
</div>
<p><a href="vector3_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_vector3.html">mingfx::Vector3</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A 3D Vector with floating point coordinates, used for storing normals and all sorts of other 3D graphics operations.  <a href="classmingfx_1_1_vector3.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacemingfx"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html">mingfx</a></td></tr>
<tr class="memdesc:namespacemingfx"><td class="mdescLeft">&#160;</td><td class="mdescRight">Namespace for the MinGfx Toolkit. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa19b1dea0b7aa468950e56044fda328a"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#aa19b1dea0b7aa468950e56044fda328a">mingfx::operator/</a> (const Vector3 &amp;v, const float s)</td></tr>
<tr class="memdesc:aa19b1dea0b7aa468950e56044fda328a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide the vector by the scalar s.  <a href="namespacemingfx.html#aa19b1dea0b7aa468950e56044fda328a">More...</a><br /></td></tr>
<tr class="separator:aa19b1dea0b7aa468950e56044fda328a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e3941689c65388690916d00e0d423d4"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#a7e3941689c65388690916d00e0d423d4">mingfx::operator*</a> (const float s, const Vector3 &amp;v)</td></tr>
<tr class="memdesc:a7e3941689c65388690916d00e0d423d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiply the vector by the scalar s.  <a href="namespacemingfx.html#a7e3941689c65388690916d00e0d423d4">More...</a><br /></td></tr>
<tr class="separator:a7e3941689c65388690916d00e0d423d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a18cb8506dee589eaf6883a32e6fb5"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#aa8a18cb8506dee589eaf6883a32e6fb5">mingfx::operator*</a> (const Vector3 &amp;v, const float s)</td></tr>
<tr class="memdesc:aa8a18cb8506dee589eaf6883a32e6fb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiply the vector by the scalar s.  <a href="namespacemingfx.html#aa8a18cb8506dee589eaf6883a32e6fb5">More...</a><br /></td></tr>
<tr class="separator:aa8a18cb8506dee589eaf6883a32e6fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd07add6169773bae12d40201f8af7db"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#afd07add6169773bae12d40201f8af7db">mingfx::operator-</a> (const Vector3 &amp;v)</td></tr>
<tr class="memdesc:afd07add6169773bae12d40201f8af7db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Negate the vector.  <a href="namespacemingfx.html#afd07add6169773bae12d40201f8af7db">More...</a><br /></td></tr>
<tr class="separator:afd07add6169773bae12d40201f8af7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b4428d2cf65ba5226ef4036352d311e"><td class="memItemLeft" align="right" valign="top">Point3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#a4b4428d2cf65ba5226ef4036352d311e">mingfx::operator+</a> (const Vector3 &amp;v, const Point3 &amp;p)</td></tr>
<tr class="memdesc:a4b4428d2cf65ba5226ef4036352d311e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a vector and a point, returns a point.  <a href="namespacemingfx.html#a4b4428d2cf65ba5226ef4036352d311e">More...</a><br /></td></tr>
<tr class="separator:a4b4428d2cf65ba5226ef4036352d311e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadea317107a50ec6847ce01927b61c82"><td class="memItemLeft" align="right" valign="top">Point3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#aadea317107a50ec6847ce01927b61c82">mingfx::operator+</a> (const Point3 &amp;p, const Vector3 &amp;v)</td></tr>
<tr class="memdesc:aadea317107a50ec6847ce01927b61c82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a point and a vector, returns a point.  <a href="namespacemingfx.html#aadea317107a50ec6847ce01927b61c82">More...</a><br /></td></tr>
<tr class="separator:aadea317107a50ec6847ce01927b61c82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeeb04b70f8e8becbcda7a3dc7024c1b"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#aeeeb04b70f8e8becbcda7a3dc7024c1b">mingfx::operator+</a> (const Vector3 &amp;v1, const Vector3 &amp;v2)</td></tr>
<tr class="memdesc:aeeeb04b70f8e8becbcda7a3dc7024c1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a vector and a vector, returns a vector.  <a href="namespacemingfx.html#aeeeb04b70f8e8becbcda7a3dc7024c1b">More...</a><br /></td></tr>
<tr class="separator:aeeeb04b70f8e8becbcda7a3dc7024c1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a579b90d99a1d6f794ca44017ded3a8db"><td class="memItemLeft" align="right" valign="top">Point3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#a579b90d99a1d6f794ca44017ded3a8db">mingfx::operator-</a> (const Point3 &amp;p, const Vector3 &amp;v)</td></tr>
<tr class="memdesc:a579b90d99a1d6f794ca44017ded3a8db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtracts a vector from a point, returns a point.  <a href="namespacemingfx.html#a579b90d99a1d6f794ca44017ded3a8db">More...</a><br /></td></tr>
<tr class="separator:a579b90d99a1d6f794ca44017ded3a8db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecdf7f36c4feb04034f1d07c49d5c0e3"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#aecdf7f36c4feb04034f1d07c49d5c0e3">mingfx::operator-</a> (const Vector3 &amp;v1, const Vector3 &amp;v2)</td></tr>
<tr class="memdesc:aecdf7f36c4feb04034f1d07c49d5c0e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtracts v2 from v1, returns a vector.  <a href="namespacemingfx.html#aecdf7f36c4feb04034f1d07c49d5c0e3">More...</a><br /></td></tr>
<tr class="separator:aecdf7f36c4feb04034f1d07c49d5c0e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77d92da8f1a866306518422cd9d2f0af"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#a77d92da8f1a866306518422cd9d2f0af">mingfx::operator-</a> (const Point3 &amp;p1, const Point3 &amp;p2)</td></tr>
<tr class="memdesc:a77d92da8f1a866306518422cd9d2f0af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the vector spanning p1 and p2.  <a href="namespacemingfx.html#a77d92da8f1a866306518422cd9d2f0af">More...</a><br /></td></tr>
<tr class="separator:a77d92da8f1a866306518422cd9d2f0af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3425c24faf923364cd3a764d50601c52"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#a3425c24faf923364cd3a764d50601c52">mingfx::operator&lt;&lt;</a> (std::ostream &amp;os, const Vector3 &amp;v)</td></tr>
<tr class="separator:a3425c24faf923364cd3a764d50601c52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cc2f52569661416cb2ca67c516b7c93"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemingfx.html#a8cc2f52569661416cb2ca67c516b7c93">mingfx::operator&gt;&gt;</a> (std::istream &amp;is, Vector3 &amp;v)</td></tr>
<tr class="separator:a8cc2f52569661416cb2ca67c516b7c93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.9.1-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.9.1
</small></address>
</body>
</html>