252 lines
13 KiB
HTML
252 lines
13 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>SDL Utility: C:/Users/Robert/source/repos/SDLU/include/structures/Vector2.hpp 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="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.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>
|
|
<link href="doxygen.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 id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">SDL Utility
|
|
</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&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&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>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('_vector2_8hpp.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- 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 class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#typedef-members">Typedefs</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Vector2.hpp File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Provides a structure for simple vector calculations.
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include <type_traits></code><br />
|
|
<code>#include "<a class="el" href="_util_8hpp_source.html">Util.hpp</a>"</code><br />
|
|
</div>
|
|
<p><a href="_vector2_8hpp_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">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html">Vector2< T, typename ></a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A struct to handle basic 2D vector operations. <a href="struct_vector2.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a36e88d2e65c41e97d7cd32ab4f5a2209"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< unsigned int > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a></td></tr>
|
|
<tr class="separator:a36e88d2e65c41e97d7cd32ab4f5a2209"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a767179840bda2f40b1440cc936cb35eb"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< unsigned int > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a></td></tr>
|
|
<tr class="separator:a767179840bda2f40b1440cc936cb35eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa83d444bd6cbecb112158663c2e0c213"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a></td></tr>
|
|
<tr class="separator:aa83d444bd6cbecb112158663c2e0c213"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b050d6e00926384f32882b08391ae33"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a></td></tr>
|
|
<tr class="separator:a5b050d6e00926384f32882b08391ae33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f3739462b0605dcb64299fa289b6afe"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a></td></tr>
|
|
<tr class="separator:a9f3739462b0605dcb64299fa289b6afe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6b9cbc8191bf5e5c2591f0e8cfb42ed6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a></td></tr>
|
|
<tr class="separator:a6b9cbc8191bf5e5c2591f0e8cfb42ed6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa24c210e370bbcafa705a5ba97a2f025"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a></td></tr>
|
|
<tr class="separator:aa24c210e370bbcafa705a5ba97a2f025"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4c6badd69e2091503489b6b2cf0aae02"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="struct_vector2.html">Vector2</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a></td></tr>
|
|
<tr class="separator:a4c6badd69e2091503489b6b2cf0aae02"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Provides a structure for simple vector calculations. </p>
|
|
<dl class="section author"><dt>Author</dt><dd>Lauchmelder23 </dd></dl>
|
|
<dl class="section date"><dt>Date</dt><dd>16.05.2020 </dd></dl>
|
|
</div><h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="a4c6badd69e2091503489b6b2cf0aae02"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c6badd69e2091503489b6b2cf0aae02">◆ </a></span>Vec2d</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><double> <a class="el" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6b9cbc8191bf5e5c2591f0e8cfb42ed6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">◆ </a></span>Vec2f</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><float> <a class="el" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5b050d6e00926384f32882b08391ae33"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b050d6e00926384f32882b08391ae33">◆ </a></span>Vec2i</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><int> <a class="el" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a767179840bda2f40b1440cc936cb35eb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a767179840bda2f40b1440cc936cb35eb">◆ </a></span>Vec2u</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><unsigned int> <a class="el" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa24c210e370bbcafa705a5ba97a2f025"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa24c210e370bbcafa705a5ba97a2f025">◆ </a></span>Vector2d</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><double> <a class="el" href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f3739462b0605dcb64299fa289b6afe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f3739462b0605dcb64299fa289b6afe">◆ </a></span>Vector2f</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><float> <a class="el" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa83d444bd6cbecb112158663c2e0c213"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa83d444bd6cbecb112158663c2e0c213">◆ </a></span>Vector2i</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><int> <a class="el" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a36e88d2e65c41e97d7cd32ab4f5a2209"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a36e88d2e65c41e97d7cd32ab4f5a2209">◆ </a></span>Vector2u</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="struct_vector2.html">Vector2</a><unsigned int> <a class="el" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_ae392c548e81aebab219dc0867f8ff50.html">structures</a></li><li class="navelem"><a class="el" href="_vector2_8hpp.html">Vector2.hpp</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|