mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 11:54:36 +00:00
75 lines
3.5 KiB
HTML
75 lines
3.5 KiB
HTML
|
<!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"/>
|
||
|
<title>_swizzle_base2< ValueType, VecType, N, E0, E1, E2, E3, DUPLICATE_ELEMENTS > Struct Template Reference</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- Generated by Doxygen 1.7.3 -->
|
||
|
<div id="top">
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><b>glm</b> </li>
|
||
|
<li class="navelem"><b>detail</b> </li>
|
||
|
<li class="navelem"><a class="el" href="a00003.html">_swizzle_base2</a> </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<h1>_swizzle_base2< ValueType, VecType, N, E0, E1, E2, E3, DUPLICATE_ELEMENTS > Struct Template Reference</h1> </div>
|
||
|
</div>
|
||
|
<div class="contents">
|
||
|
<!-- doxytag: class="glm::detail::_swizzle_base2" --><!-- doxytag: inherits="glm::detail::_swizzle_base1" -->
|
||
|
<p>Internal class for implementing swizzle operators.
|
||
|
<a href="#_details">More...</a></p>
|
||
|
|
||
|
<p>Inherits glm::detail::_swizzle_base1< ValueType, VecType, E0, E1, E2, E3, N >.</p>
|
||
|
|
||
|
<p><a href="a00233.html">List of all members.</a></p>
|
||
|
<table class="memberdecls">
|
||
|
</table>
|
||
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
||
|
<div class="textblock"><h3>template<typename ValueType, typename VecType, int N, int E0, int E1, int E2, int E3, int DUPLICATE_ELEMENTS><br/>
|
||
|
struct glm::detail::_swizzle_base2< ValueType, VecType, N, E0, E1, E2, E3, DUPLICATE_ELEMENTS ></h3>
|
||
|
|
||
|
<p>Internal class for implementing swizzle operators. </p>
|
||
|
<p>Template parameters:</p>
|
||
|
<p>ValueType = type of scalar values (e.g. float, double) VecType = class the swizzle is applies to (e.g. tvec3<float>) N = number of components in the vector (e.g. 3) E0...3 = what index the n-th element of this swizzle refers to in the unswizzled vec</p>
|
||
|
<p>DUPLICATE_ELEMENTS = 1 if there is a repeated element, 0 otherwise (used to specialize swizzles containing duplicate elements so that they cannot be used as r-values). </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="a00021_source.html#l00108">108</a> of file <a class="el" href="a00021_source.html">_swizzle.hpp</a>.</p>
|
||
|
</div></div>
|
||
|
<hr class="footer"/><address class="footer"><small>Generated by 
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
|
||
|
</body>
|
||
|
</html>
|