916 lines
42 KiB
HTML
916 lines
42 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: Vector2< T, typename > Struct Template 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('struct_vector2.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="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="struct_vector2-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Vector2< T, typename > Struct Template Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>A struct to handle basic 2D vector operations.
|
|
<a href="struct_vector2.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="_vector2_8hpp_source.html">Vector2.hpp</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a97e82fb706a11e3fd9e45c0f9b2e9d57"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57">Vector2</a> ()</td></tr>
|
|
<tr class="memdesc:a97e82fb706a11e3fd9e45c0f9b2e9d57"><td class="mdescLeft"> </td><td class="mdescRight">Initializes a zero vector. <a href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57">More...</a><br /></td></tr>
|
|
<tr class="separator:a97e82fb706a11e3fd9e45c0f9b2e9d57"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1bfd6dcda6169f824c2356a90a421fcd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd">Vector2</a> (T <a class="el" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, T <a class="el" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>)</td></tr>
|
|
<tr class="memdesc:a1bfd6dcda6169f824c2356a90a421fcd"><td class="mdescLeft"> </td><td class="mdescRight">Initializes a vector with default values. <a href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd">More...</a><br /></td></tr>
|
|
<tr class="separator:a1bfd6dcda6169f824c2356a90a421fcd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1950869ee807adaa07af7ec07088fe89"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89">Vector2</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &other)</td></tr>
|
|
<tr class="memdesc:a1950869ee807adaa07af7ec07088fe89"><td class="mdescLeft"> </td><td class="mdescRight">Copies the components of a vector. <a href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89">More...</a><br /></td></tr>
|
|
<tr class="separator:a1950869ee807adaa07af7ec07088fe89"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:ac573f527fa90fae5ab5be41832a7e20f"><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a></td></tr>
|
|
<tr class="memdesc:ac573f527fa90fae5ab5be41832a7e20f"><td class="mdescLeft"> </td><td class="mdescRight">x component <a href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">More...</a><br /></td></tr>
|
|
<tr class="separator:ac573f527fa90fae5ab5be41832a7e20f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a55a521eeb914e6e20f32d63b7f26ec47"><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a></td></tr>
|
|
<tr class="memdesc:a55a521eeb914e6e20f32d63b7f26ec47"><td class="mdescLeft"> </td><td class="mdescRight">y component <a href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">More...</a><br /></td></tr>
|
|
<tr class="separator:a55a521eeb914e6e20f32d63b7f26ec47"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:a3b0d8d656232db9761e0c459626fb1a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6">operator-</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a3b0d8d656232db9761e0c459626fb1a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aba70479668d8bcbc87c9355b20d75077"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077">operator+</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:aba70479668d8bcbc87c9355b20d75077"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a98e159eabaebddf0ec16573815519112"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a98e159eabaebddf0ec16573815519112">operator-</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a98e159eabaebddf0ec16573815519112"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af44c84af67417c860ad29a01d1538fc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5">operator*</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:af44c84af67417c860ad29a01d1538fc5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6acf5f423812c4045eaad73f2af7334b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b">operator/</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a6acf5f423812c4045eaad73f2af7334b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a40592d244935cba2d3840cf919693061"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a40592d244935cba2d3840cf919693061">operator*</a> (T left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a40592d244935cba2d3840cf919693061"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afaf9b701ccc1954e9f26ce5e04b149a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5">operator*</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, T right)</td></tr>
|
|
<tr class="separator:afaf9b701ccc1954e9f26ce5e04b149a5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8139b93789ac0d0642c5a29d1a43c8b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9">operator/</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, T right)</td></tr>
|
|
<tr class="separator:a8139b93789ac0d0642c5a29d1a43c8b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a72f0e6633e0a30ce575ca3449a80f0da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da">operator+=</a> (<a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a72f0e6633e0a30ce575ca3449a80f0da"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae11ef82119c2cce4f5ce2266ced7a137"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137">operator-=</a> (<a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:ae11ef82119c2cce4f5ce2266ced7a137"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aebd0564ead3fe6b66908e76611acdf0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f">operator*=</a> (<a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:aebd0564ead3fe6b66908e76611acdf0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d4180688c2f1aa4ae1914bdef94a06e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e">operator/</a> (<a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a3d4180688c2f1aa4ae1914bdef94a06e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9e8d88f60ab5fbe3a0683d98b3b9c22b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b">operator*=</a> (<a class="el" href="struct_vector2.html">Vector2</a>< T > &left, T right)</td></tr>
|
|
<tr class="separator:a9e8d88f60ab5fbe3a0683d98b3b9c22b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af7205a70b53fe62ddf9cf5237a80c24d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d">operator/=</a> (<a class="el" href="struct_vector2.html">Vector2</a>< T > &left, T right)</td></tr>
|
|
<tr class="separator:af7205a70b53fe62ddf9cf5237a80c24d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac873f3e94b54998e6b1c940af4e97678"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678">operator==</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:ac873f3e94b54998e6b1c940af4e97678"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a128bc6743be87cbb770e09a7524049e2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2">operator!=</a> (const <a class="el" href="struct_vector2.html">Vector2</a>< T > &left, const <a class="el" href="struct_vector2.html">Vector2</a>< T > &right)</td></tr>
|
|
<tr class="separator:a128bc6743be87cbb770e09a7524049e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><h3>template<typename T, typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type><br />
|
|
struct Vector2< T, typename ></h3>
|
|
|
|
<p>A struct to handle basic 2D vector operations. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>The (arithmetical) type of the vector components </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a97e82fb706a11e3fd9e45c0f9b2e9d57"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a97e82fb706a11e3fd9e45c0f9b2e9d57">◆ </a></span>Vector2() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>< T, typename >::<a class="el" href="struct_vector2.html">Vector2</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initializes a zero vector. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1bfd6dcda6169f824c2356a90a421fcd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1bfd6dcda6169f824c2356a90a421fcd">◆ </a></span>Vector2() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>< T, typename >::<a class="el" href="struct_vector2.html">Vector2</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>y</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initializes a vector with default values. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1950869ee807adaa07af7ec07088fe89"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1950869ee807adaa07af7ec07088fe89">◆ </a></span>Vector2() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>< T, typename >::<a class="el" href="struct_vector2.html">Vector2</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Copies the components of a vector. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
|
<a id="a128bc6743be87cbb770e09a7524049e2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a128bc6743be87cbb770e09a7524049e2">◆ </a></span>operator!=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af44c84af67417c860ad29a01d1538fc5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af44c84af67417c860ad29a01d1538fc5">◆ </a></span>operator* <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afaf9b701ccc1954e9f26ce5e04b149a5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afaf9b701ccc1954e9f26ce5e04b149a5">◆ </a></span>operator* <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a40592d244935cba2d3840cf919693061"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40592d244935cba2d3840cf919693061">◆ </a></span>operator* <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aebd0564ead3fe6b66908e76611acdf0f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aebd0564ead3fe6b66908e76611acdf0f">◆ </a></span>operator*= <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T>& operator*= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9e8d88f60ab5fbe3a0683d98b3b9c22b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9e8d88f60ab5fbe3a0683d98b3b9c22b">◆ </a></span>operator*= <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T>& operator*= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aba70479668d8bcbc87c9355b20d75077"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aba70479668d8bcbc87c9355b20d75077">◆ </a></span>operator+</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a72f0e6633e0a30ce575ca3449a80f0da"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a72f0e6633e0a30ce575ca3449a80f0da">◆ </a></span>operator+=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T>& operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a98e159eabaebddf0ec16573815519112"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a98e159eabaebddf0ec16573815519112">◆ </a></span>operator- <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3b0d8d656232db9761e0c459626fb1a6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3b0d8d656232db9761e0c459626fb1a6">◆ </a></span>operator- <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae11ef82119c2cce4f5ce2266ced7a137"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae11ef82119c2cce4f5ce2266ced7a137">◆ </a></span>operator-=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T>& operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6acf5f423812c4045eaad73f2af7334b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6acf5f423812c4045eaad73f2af7334b">◆ </a></span>operator/ <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8139b93789ac0d0642c5a29d1a43c8b9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8139b93789ac0d0642c5a29d1a43c8b9">◆ </a></span>operator/ <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T> operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3d4180688c2f1aa4ae1914bdef94a06e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3d4180688c2f1aa4ae1914bdef94a06e">◆ </a></span>operator/ <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T>& operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af7205a70b53fe62ddf9cf5237a80c24d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af7205a70b53fe62ddf9cf5237a80c24d">◆ </a></span>operator/=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a><T>& operator/= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac873f3e94b54998e6b1c940af4e97678"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac873f3e94b54998e6b1c940af4e97678">◆ </a></span>operator==</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>left</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>< T > & </td>
|
|
<td class="paramname"><em>right</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ac573f527fa90fae5ab5be41832a7e20f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac573f527fa90fae5ab5be41832a7e20f">◆ </a></span>x</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>< T, typename >::x</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>x component </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a55a521eeb914e6e20f32d63b7f26ec47"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a55a521eeb914e6e20f32d63b7f26ec47">◆ </a></span>y</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>< T, typename >::y</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>y component </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li>C:/Users/Robert/source/repos/SDLU/include/structures/<a class="el" href="_vector2_8hpp_source.html">Vector2.hpp</a></li>
|
|
</ul>
|
|
</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="struct_vector2.html">Vector2</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>
|