2012-09-05 22:30:34 +00:00
<!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" / >
2012-11-18 13:05:52 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2013-12-25 22:48:55 +00:00
< meta name = "generator" content = "Doxygen 1.8.5" / >
< title > GLM: simd_vec4.hpp Source File< / title >
2012-09-05 22:30:34 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2012-11-18 13:05:52 +00:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2012-09-05 22:30:34 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
2012-11-18 13:05:52 +00:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
2012-09-05 22:30:34 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2013-12-25 22:48:55 +00:00
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > GLM
  < span id = "projectnumber" > 0.9.5< / span >
< / div >
< / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / tbody >
< / table >
< / div >
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2013-12-25 22:48:55 +00:00
<!-- Generated by Doxygen 1.8.5 -->
2012-09-05 22:30:34 +00:00
< 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 >
2013-12-25 22:48:55 +00:00
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
2012-09-05 22:30:34 +00:00
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< / ul >
< / div >
2012-11-18 13:05:52 +00:00
< div id = "nav-path" class = "navpath" >
< ul >
2013-12-25 22:48:55 +00:00
< li class = "navelem" > < a class = "el" href = "dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html" > Users< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_968fb7988749a6351e7b3d0c1783dec4.html" > Groove< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_6e418c18ca640a0404613de005739e2e.html" > Documents< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e3ecd7863bd215c92a17f47e2ae3be43.html" > GitHub< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_edf753475b928be648c1cf1c6443cf63.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e50778361fd4ab4de52181ed9eb2b726.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_a8d99eddac27b2368ab5252ce80ded11.html" > gtx< / a > < / li > < / ul >
2012-11-18 13:05:52 +00:00
< / div >
< / div > <!-- top -->
2012-09-05 22:30:34 +00:00
< div class = "header" >
< div class = "headertitle" >
2013-12-25 22:48:55 +00:00
< div class = "title" > simd_vec4.hpp< / div > < / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- header -->
2012-09-05 22:30:34 +00:00
< div class = "contents" >
2012-11-18 13:05:52 +00:00
< a href = "a00111.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < / div >
2013-12-25 22:48:55 +00:00
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < span class = "preprocessor" > #ifndef GLM_GTX_simd_vec4< / span > < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define GLM_GTX_simd_vec4< / span > < / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   < span class = "comment" > // Dependency:< / span > < / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < span class = "preprocessor" > #include " ../glm.hpp" < / span > < / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < span class = "preprocessor" > #if(GLM_ARCH != GLM_ARCH_PURE)< / span > < / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   < span class = "preprocessor" > #if(GLM_ARCH & GLM_ARCH_SSE2)< / span > < / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > # include " ../detail/intrinsic_common.hpp" < / span > < / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   < span class = "preprocessor" > # include " ../detail/intrinsic_geometric.hpp" < / span > < / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   < span class = "preprocessor" > # include " ../detail/intrinsic_integer.hpp" < / span > < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < span class = "preprocessor" > #else< / span > < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > # error " GLM: GLM_GTX_simd_vec4 requires compiler support of SSE2 through intrinsics" < / span > < / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   < span class = "preprocessor" > #if(defined(GLM_MESSAGES) & & !defined(GLM_EXT_INCLUDED))< / span > < / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > # pragma message(" GLM: GLM_GTX_simd_vec4 extension included" )< / span > < / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   < / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   < span class = "comment" > // Warning silencer for nameless struct/union.< / span > < / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   < span class = "preprocessor" > #if (GLM_COMPILER & GLM_COMPILER_VC)< / span > < / div >
< div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > 61< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > # pragma warning(push)< / span > < / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > # pragma warning(disable:4201) // warning C4201: nonstandard extension used : nameless struct/union< / span > < / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   < span class = "keyword" > namespace < / span > glm< / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   {< / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < span class = "keyword" > enum< / span > comp< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   {< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   X = 0,< / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   R = 0,< / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > 71< / span >   S = 0,< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   Y = 1,< / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   G = 1,< / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > 74< / span >   T = 1,< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   Z = 2,< / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   B = 2,< / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   P = 2,< / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   W = 3,< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   A = 3,< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   Q = 3< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   };< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   < / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   }< span class = "comment" > //namespace glm< / span > < / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   < / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   < span class = "keyword" > namespace < / span > glm{< / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   < span class = "keyword" > namespace < / span > detail< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   {< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   GLM_ALIGNED_STRUCT(16) fvec4SIMD< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   {< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   < span class = "keyword" > enum< / span > ctor{null};< / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   < span class = "keyword" > typedef< / span > __m128 value_type;< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   < span class = "keyword" > typedef< / span > std::size_t size_type;< / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > 95< / span >   < span class = "keyword" > static< / span > size_type value_size();< / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   < / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < span class = "keyword" > typedef< / span > fvec4SIMD type;< / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < span class = "keyword" > typedef< / span > tvec4< bool, highp> bool_type;< / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   < span class = "preprocessor" > #ifdef GLM_SIMD_ENABLE_XYZW_UNION< / span > < / div >
< div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   < span class = "preprocessor" > < / span > < span class = "keyword" > union< / span > < / div >
< div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > 102< / span >   {< / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > 103< / span >   __m128 Data;< / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   < span class = "keyword" > struct < / span > {< span class = "keywordtype" > float< / span > x, y, z, w;};< / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   };< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   < span class = "preprocessor" > #else< / span > < / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / span >   < span class = "preprocessor" > < / span > __m128 Data;< / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   < span class = "comment" > // Implicit basic constructors< / span > < / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   fvec4SIMD();< / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   fvec4SIMD(__m128 < span class = "keyword" > const< / span > & Data);< / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / span >   fvec4SIMD(fvec4SIMD < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00116" > < / a > < span class = "lineno" > 116< / span >   < / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   < span class = "comment" > // Explicit basic constructors< / span > < / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   < / div >
< div class = "line" > < a name = "l00120" > < / a > < span class = "lineno" > 120< / span >   < span class = "keyword" > explicit< / span > fvec4SIMD(< / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   ctor);< / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   < span class = "keyword" > explicit< / span > fvec4SIMD(< / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s);< / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   < span class = "keyword" > explicit< / span > fvec4SIMD(< / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & y, < / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & z, < / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & w);< / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < span class = "keyword" > explicit< / span > fvec4SIMD(< / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < a class = "code" href = "a00168.html#gafbab23070ca47932487d25332adc7d7c" > vec4< / a > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   < / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   fvec4SIMD(< a class = "code" href = "a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da" > vec2< / a > < span class = "keyword" > const< / span > & v, < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s1, < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s2);< / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   fvec4SIMD(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s1, < a class = "code" href = "a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da" > vec2< / a > < span class = "keyword" > const< / span > & v, < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s2);< / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   fvec4SIMD(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s1, < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s2, < a class = "code" href = "a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da" > vec2< / a > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   fvec4SIMD(< a class = "code" href = "a00168.html#gaa8ea2429bb3cb41a715258a447f39897" > vec3< / a > < span class = "keyword" > const< / span > & v, < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s);< / div >
< div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > 139< / span >   fvec4SIMD(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s, < a class = "code" href = "a00168.html#gaa8ea2429bb3cb41a715258a447f39897" > vec3< / a > < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00140" > < / a > < span class = "lineno" > 140< / span >   fvec4SIMD(< a class = "code" href = "a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da" > vec2< / a > < span class = "keyword" > const< / span > & v1, < a class = "code" href = "a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da" > vec2< / a > < span class = "keyword" > const< / span > & v2);< / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   < span class = "comment" > //fvec4SIMD(ivec4SIMD const & v);< / span > < / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < span class = "comment" > // Unary arithmetic operators< / span > < / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   < / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   fvec4SIMD& operator= (fvec4SIMD < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   fvec4SIMD& operator+=(fvec4SIMD < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   fvec4SIMD& operator-=(fvec4SIMD < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   fvec4SIMD& operator*=(fvec4SIMD < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   fvec4SIMD& operator/=(fvec4SIMD < span class = "keyword" > const< / span > & v);< / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   < / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   fvec4SIMD& operator+=(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s);< / div >
< div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   fvec4SIMD& operator-=(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s);< / div >
< div class = "line" > < a name = "l00154" > < / a > < span class = "lineno" > 154< / span >   fvec4SIMD& operator*=(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s);< / div >
< div class = "line" > < a name = "l00155" > < / a > < span class = "lineno" > 155< / span >   fvec4SIMD& operator/=(< span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & s);< / div >
< div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   < / div >
< div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   fvec4SIMD& operator++();< / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   fvec4SIMD& operator--();< / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   < span class = "comment" > // Swizzle operators< / span > < / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < / div >
< div class = "line" > < a name = "l00163" > < / a > < span class = "lineno" > 163< / span >   < span class = "keyword" > template< / span > < comp X, comp Y, comp Z, comp W> < / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   fvec4SIMD& swizzle();< / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / span >   < span class = "keyword" > template< / span > < comp X, comp Y, comp Z, comp W> < / div >
< div class = "line" > < a name = "l00166" > < / a > < span class = "lineno" > 166< / span >   fvec4SIMD swizzle() < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00167" > < / a > < span class = "lineno" > 167< / span >   < span class = "keyword" > template< / span > < comp X, comp Y, comp Z> < / div >
< div class = "line" > < a name = "l00168" > < / a > < span class = "lineno" > 168< / span >   fvec4SIMD swizzle() < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00169" > < / a > < span class = "lineno" > 169< / span >   < span class = "keyword" > template< / span > < comp X, comp Y> < / div >
< div class = "line" > < a name = "l00170" > < / a > < span class = "lineno" > 170< / span >   fvec4SIMD swizzle() < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00171" > < / a > < span class = "lineno" > 171< / span >   < span class = "keyword" > template< / span > < comp X> < / div >
< div class = "line" > < a name = "l00172" > < / a > < span class = "lineno" > 172< / span >   fvec4SIMD swizzle() < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00173" > < / a > < span class = "lineno" > 173< / span >   };< / div >
< div class = "line" > < a name = "l00174" > < / a > < span class = "lineno" > 174< / span >   }< span class = "comment" > //namespace detail< / span > < / div >
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   < / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > 176< / span >   < span class = "keyword" > typedef< / span > glm::detail::fvec4SIMD simdVec4;< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   < / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > 180< / span >   < / div >
< div class = "line" > < a name = "l00183" > < / a > < span class = "lineno" > 183< / span >   < a class = "code" href = "a00168.html#gafbab23070ca47932487d25332adc7d7c" > vec4< / a > vec4_cast(< / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > 184< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00185" > < / a > < span class = "lineno" > 185< / span >   < / div >
< div class = "line" > < a name = "l00188" > < / a > < span class = "lineno" > 188< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gaea946f96ec1df259802effe9f532e1c1" > abs< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00189" > < / a > < span class = "lineno" > 189< / span >   < / div >
< div class = "line" > < a name = "l00192" > < / a > < span class = "lineno" > 192< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gaa7afd59ab947e313d41cb6d9c655a80c" > sign< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00193" > < / a > < span class = "lineno" > 193< / span >   < / div >
< div class = "line" > < a name = "l00196" > < / a > < span class = "lineno" > 196< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga86350252cc9bf86421317460bbd1f21c" > floor< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00197" > < / a > < span class = "lineno" > 197< / span >   < / div >
< div class = "line" > < a name = "l00201" > < / a > < span class = "lineno" > 201< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gadb091aed51e45872f6dc841affa41c5c" > trunc< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00202" > < / a > < span class = "lineno" > 202< / span >   < / div >
< div class = "line" > < a name = "l00210" > < / a > < span class = "lineno" > 210< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga75ebab3fe88a9c5c769135cf5a2649ef" > round< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00211" > < / a > < span class = "lineno" > 211< / span >   < / div >
< div class = "line" > < a name = "l00217" > < / a > < span class = "lineno" > 217< / span >   < span class = "comment" > //detail::fvec4SIMD roundEven(detail::fvec4SIMD const & x);< / span > < / div >
< div class = "line" > < a name = "l00218" > < / a > < span class = "lineno" > 218< / span >   < / div >
< div class = "line" > < a name = "l00222" > < / a > < span class = "lineno" > 222< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gab81e02fff55c9391e28fa47e68c3c903" > ceil< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00223" > < / a > < span class = "lineno" > 223< / span >   < / div >
< div class = "line" > < a name = "l00227" > < / a > < span class = "lineno" > 227< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gad04ac2908d032d5518d5f6c8403dbc8b" > fract< / a > (detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00228" > < / a > < span class = "lineno" > 228< / span >   < / div >
< div class = "line" > < a name = "l00233" > < / a > < span class = "lineno" > 233< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1" > mod< / a > (< / div >
< div class = "line" > < a name = "l00234" > < / a > < span class = "lineno" > 234< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00235" > < / a > < span class = "lineno" > 235< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00236" > < / a > < span class = "lineno" > 236< / span >   < / div >
< div class = "line" > < a name = "l00241" > < / a > < span class = "lineno" > 241< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1" > mod< / a > (< / div >
< div class = "line" > < a name = "l00242" > < / a > < span class = "lineno" > 242< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00243" > < / a > < span class = "lineno" > 243< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00244" > < / a > < span class = "lineno" > 244< / span >   < / div >
< div class = "line" > < a name = "l00250" > < / a > < span class = "lineno" > 250< / span >   < span class = "comment" > //detail::fvec4SIMD modf(< / span > < / div >
< div class = "line" > < a name = "l00251" > < / a > < span class = "lineno" > 251< / span >   < span class = "comment" > // detail::fvec4SIMD const & x, < / span > < / div >
< div class = "line" > < a name = "l00252" > < / a > < span class = "lineno" > 252< / span >   < span class = "comment" > // detail::fvec4SIMD & i);< / span > < / div >
< div class = "line" > < a name = "l00253" > < / a > < span class = "lineno" > 253< / span >   < / div >
< div class = "line" > < a name = "l00257" > < / a > < span class = "lineno" > 257< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02" > min< / a > (< / div >
< div class = "line" > < a name = "l00258" > < / a > < span class = "lineno" > 258< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00259" > < / a > < span class = "lineno" > 259< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00260" > < / a > < span class = "lineno" > 260< / span >   < / div >
< div class = "line" > < a name = "l00261" > < / a > < span class = "lineno" > 261< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02" > min< / a > (< / div >
< div class = "line" > < a name = "l00262" > < / a > < span class = "lineno" > 262< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00263" > < / a > < span class = "lineno" > 263< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00264" > < / a > < span class = "lineno" > 264< / span >   < / div >
< div class = "line" > < a name = "l00268" > < / a > < span class = "lineno" > 268< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gaa228561a9da55898f8f72ad2403fafac" > max< / a > (< / div >
< div class = "line" > < a name = "l00269" > < / a > < span class = "lineno" > 269< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00270" > < / a > < span class = "lineno" > 270< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00271" > < / a > < span class = "lineno" > 271< / span >   < / div >
< div class = "line" > < a name = "l00272" > < / a > < span class = "lineno" > 272< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gaa228561a9da55898f8f72ad2403fafac" > max< / a > (< / div >
< div class = "line" > < a name = "l00273" > < / a > < span class = "lineno" > 273< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00274" > < / a > < span class = "lineno" > 274< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00275" > < / a > < span class = "lineno" > 275< / span >   < / div >
< div class = "line" > < a name = "l00280" > < / a > < span class = "lineno" > 280< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga72e9e213c84f06a329a2a838b51200f4" > clamp< / a > (< / div >
< div class = "line" > < a name = "l00281" > < / a > < span class = "lineno" > 281< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00282" > < / a > < span class = "lineno" > 282< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & minVal, < / div >
< div class = "line" > < a name = "l00283" > < / a > < span class = "lineno" > 283< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & maxVal); < / div >
< div class = "line" > < a name = "l00284" > < / a > < span class = "lineno" > 284< / span >   < / div >
< div class = "line" > < a name = "l00285" > < / a > < span class = "lineno" > 285< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga72e9e213c84f06a329a2a838b51200f4" > clamp< / a > (< / div >
< div class = "line" > < a name = "l00286" > < / a > < span class = "lineno" > 286< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00287" > < / a > < span class = "lineno" > 287< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & minVal, < / div >
< div class = "line" > < a name = "l00288" > < / a > < span class = "lineno" > 288< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & maxVal); < / div >
< div class = "line" > < a name = "l00289" > < / a > < span class = "lineno" > 289< / span >   < / div >
< div class = "line" > < a name = "l00316" > < / a > < span class = "lineno" > 316< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga78aae7eea618ca112053d59fe03db239" > mix< / a > (< / div >
< div class = "line" > < a name = "l00317" > < / a > < span class = "lineno" > 317< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x, < / div >
< div class = "line" > < a name = "l00318" > < / a > < span class = "lineno" > 318< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y, < / div >
< div class = "line" > < a name = "l00319" > < / a > < span class = "lineno" > 319< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & a);< / div >
< div class = "line" > < a name = "l00320" > < / a > < span class = "lineno" > 320< / span >   < / div >
< div class = "line" > < a name = "l00324" > < / a > < span class = "lineno" > 324< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gaf21c84759af7799f573865f70c2f0a86" > step< / a > (< / div >
< div class = "line" > < a name = "l00325" > < / a > < span class = "lineno" > 325< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & edge, < / div >
< div class = "line" > < a name = "l00326" > < / a > < span class = "lineno" > 326< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00327" > < / a > < span class = "lineno" > 327< / span >   < / div >
< div class = "line" > < a name = "l00328" > < / a > < span class = "lineno" > 328< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gaf21c84759af7799f573865f70c2f0a86" > step< / a > (< / div >
< div class = "line" > < a name = "l00329" > < / a > < span class = "lineno" > 329< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & edge, < / div >
< div class = "line" > < a name = "l00330" > < / a > < span class = "lineno" > 330< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00331" > < / a > < span class = "lineno" > 331< / span >   < / div >
< div class = "line" > < a name = "l00343" > < / a > < span class = "lineno" > 343< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga754103c8d2cdaf40f71429252457c10a" > smoothstep< / a > (< / div >
< div class = "line" > < a name = "l00344" > < / a > < span class = "lineno" > 344< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & edge0, < / div >
< div class = "line" > < a name = "l00345" > < / a > < span class = "lineno" > 345< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & edge1, < / div >
< div class = "line" > < a name = "l00346" > < / a > < span class = "lineno" > 346< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00347" > < / a > < span class = "lineno" > 347< / span >   < / div >
< div class = "line" > < a name = "l00348" > < / a > < span class = "lineno" > 348< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#ga754103c8d2cdaf40f71429252457c10a" > smoothstep< / a > (< / div >
< div class = "line" > < a name = "l00349" > < / a > < span class = "lineno" > 349< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & edge0, < / div >
< div class = "line" > < a name = "l00350" > < / a > < span class = "lineno" > 350< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & edge1, < / div >
< div class = "line" > < a name = "l00351" > < / a > < span class = "lineno" > 351< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00352" > < / a > < span class = "lineno" > 352< / span >   < / div >
< div class = "line" > < a name = "l00360" > < / a > < span class = "lineno" > 360< / span >   < span class = "comment" > //bvec4 isnan(detail::fvec4SIMD const & x);< / span > < / div >
< div class = "line" > < a name = "l00361" > < / a > < span class = "lineno" > 361< / span >   < / div >
< div class = "line" > < a name = "l00369" > < / a > < span class = "lineno" > 369< / span >   < span class = "comment" > //bvec4 isinf(detail::fvec4SIMD const & x);< / span > < / div >
< div class = "line" > < a name = "l00370" > < / a > < span class = "lineno" > 370< / span >   < / div >
< div class = "line" > < a name = "l00376" > < / a > < span class = "lineno" > 376< / span >   < span class = "comment" > //detail::ivec4SIMD floatBitsToInt(detail::fvec4SIMD const & value);< / span > < / div >
< div class = "line" > < a name = "l00377" > < / a > < span class = "lineno" > 377< / span >   < / div >
< div class = "line" > < a name = "l00385" > < / a > < span class = "lineno" > 385< / span >   < span class = "comment" > //detail::fvec4SIMD intBitsToFloat(detail::ivec4SIMD const & value);< / span > < / div >
< div class = "line" > < a name = "l00386" > < / a > < span class = "lineno" > 386< / span >   < / div >
< div class = "line" > < a name = "l00390" > < / a > < span class = "lineno" > 390< / span >   detail::fvec4SIMD < a class = "code" href = "a00155.html#gad0f444d4b81cc53c3b6edf5aa25078c2" > fma< / a > (< / div >
< div class = "line" > < a name = "l00391" > < / a > < span class = "lineno" > 391< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & a, < / div >
< div class = "line" > < a name = "l00392" > < / a > < span class = "lineno" > 392< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & b, < / div >
< div class = "line" > < a name = "l00393" > < / a > < span class = "lineno" > 393< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & c);< / div >
< div class = "line" > < a name = "l00394" > < / a > < span class = "lineno" > 394< / span >   < / div >
< div class = "line" > < a name = "l00405" > < / a > < span class = "lineno" > 405< / span >   < span class = "comment" > //detail::fvec4SIMD frexp(detail::fvec4SIMD const & x, detail::ivec4SIMD & exp);< / span > < / div >
< div class = "line" > < a name = "l00406" > < / a > < span class = "lineno" > 406< / span >   < / div >
< div class = "line" > < a name = "l00414" > < / a > < span class = "lineno" > 414< / span >   < span class = "comment" > //detail::fvec4SIMD ldexp(detail::fvec4SIMD const & x, detail::ivec4SIMD const & exp);< / span > < / div >
< div class = "line" > < a name = "l00415" > < / a > < span class = "lineno" > 415< / span >   < / div >
< div class = "line" > < a name = "l00419" > < / a > < span class = "lineno" > 419< / span >   < span class = "keywordtype" > float< / span > < a class = "code" href = "a00157.html#ga03b2831439defb8922832b540b91b8a7" > length< / a > (< / div >
< div class = "line" > < a name = "l00420" > < / a > < span class = "lineno" > 420< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00421" > < / a > < span class = "lineno" > 421< / span >   < / div >
< div class = "line" > < a name = "l00426" > < / a > < span class = "lineno" > 426< / span >   < span class = "keywordtype" > float< / span > < a class = "code" href = "a00197.html#ga2e726cc8b9f02b7c09910858ea1afac6" > fastLength< / a > (< / div >
< div class = "line" > < a name = "l00427" > < / a > < span class = "lineno" > 427< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00428" > < / a > < span class = "lineno" > 428< / span >   < / div >
< div class = "line" > < a name = "l00433" > < / a > < span class = "lineno" > 433< / span >   < span class = "keywordtype" > float< / span > niceLength(< / div >
< div class = "line" > < a name = "l00434" > < / a > < span class = "lineno" > 434< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00435" > < / a > < span class = "lineno" > 435< / span >   < / div >
< div class = "line" > < a name = "l00439" > < / a > < span class = "lineno" > 439< / span >   detail::fvec4SIMD length4(< / div >
< div class = "line" > < a name = "l00440" > < / a > < span class = "lineno" > 440< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00441" > < / a > < span class = "lineno" > 441< / span >   < / div >
< div class = "line" > < a name = "l00446" > < / a > < span class = "lineno" > 446< / span >   detail::fvec4SIMD fastLength4(< / div >
< div class = "line" > < a name = "l00447" > < / a > < span class = "lineno" > 447< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00448" > < / a > < span class = "lineno" > 448< / span >   < / div >
< div class = "line" > < a name = "l00453" > < / a > < span class = "lineno" > 453< / span >   detail::fvec4SIMD niceLength4(< / div >
< div class = "line" > < a name = "l00454" > < / a > < span class = "lineno" > 454< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00455" > < / a > < span class = "lineno" > 455< / span >   < / div >
< div class = "line" > < a name = "l00459" > < / a > < span class = "lineno" > 459< / span >   < span class = "keywordtype" > float< / span > < a class = "code" href = "a00157.html#ga00716eae37e8ae2a76ca7799f9c75682" > distance< / a > (< / div >
< div class = "line" > < a name = "l00460" > < / a > < span class = "lineno" > 460< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & p0,< / div >
< div class = "line" > < a name = "l00461" > < / a > < span class = "lineno" > 461< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & p1);< / div >
< div class = "line" > < a name = "l00462" > < / a > < span class = "lineno" > 462< / span >   < / div >
< div class = "line" > < a name = "l00466" > < / a > < span class = "lineno" > 466< / span >   detail::fvec4SIMD distance4(< / div >
< div class = "line" > < a name = "l00467" > < / a > < span class = "lineno" > 467< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & p0,< / div >
< div class = "line" > < a name = "l00468" > < / a > < span class = "lineno" > 468< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & p1);< / div >
< div class = "line" > < a name = "l00469" > < / a > < span class = "lineno" > 469< / span >   < / div >
< div class = "line" > < a name = "l00473" > < / a > < span class = "lineno" > 473< / span >   < span class = "keywordtype" > float< / span > simdDot(< / div >
< div class = "line" > < a name = "l00474" > < / a > < span class = "lineno" > 474< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x,< / div >
< div class = "line" > < a name = "l00475" > < / a > < span class = "lineno" > 475< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00476" > < / a > < span class = "lineno" > 476< / span >   < / div >
< div class = "line" > < a name = "l00480" > < / a > < span class = "lineno" > 480< / span >   detail::fvec4SIMD dot4(< / div >
< div class = "line" > < a name = "l00481" > < / a > < span class = "lineno" > 481< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x,< / div >
< div class = "line" > < a name = "l00482" > < / a > < span class = "lineno" > 482< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00483" > < / a > < span class = "lineno" > 483< / span >   < / div >
< div class = "line" > < a name = "l00487" > < / a > < span class = "lineno" > 487< / span >   detail::fvec4SIMD < a class = "code" href = "a00157.html#ga89b91c2a256cfb62ecbc589d1ee36d3c" > cross< / a > (< / div >
< div class = "line" > < a name = "l00488" > < / a > < span class = "lineno" > 488< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x,< / div >
< div class = "line" > < a name = "l00489" > < / a > < span class = "lineno" > 489< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & y);< / div >
< div class = "line" > < a name = "l00490" > < / a > < span class = "lineno" > 490< / span >   < / div >
< div class = "line" > < a name = "l00494" > < / a > < span class = "lineno" > 494< / span >   detail::fvec4SIMD < a class = "code" href = "a00157.html#ga15aa87101457e41663b08a8dcc3357f8" > normalize< / a > (< / div >
< div class = "line" > < a name = "l00495" > < / a > < span class = "lineno" > 495< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00496" > < / a > < span class = "lineno" > 496< / span >   < / div >
< div class = "line" > < a name = "l00501" > < / a > < span class = "lineno" > 501< / span >   detail::fvec4SIMD < a class = "code" href = "a00197.html#ga2953e7426a420bb2b33affce7360ef40" > fastNormalize< / a > (< / div >
< div class = "line" > < a name = "l00502" > < / a > < span class = "lineno" > 502< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00503" > < / a > < span class = "lineno" > 503< / span >   < / div >
< div class = "line" > < a name = "l00507" > < / a > < span class = "lineno" > 507< / span >   detail::fvec4SIMD simdFaceforward(< / div >
< div class = "line" > < a name = "l00508" > < / a > < span class = "lineno" > 508< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & N,< / div >
< div class = "line" > < a name = "l00509" > < / a > < span class = "lineno" > 509< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & I,< / div >
< div class = "line" > < a name = "l00510" > < / a > < span class = "lineno" > 510< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & Nref);< / div >
< div class = "line" > < a name = "l00511" > < / a > < span class = "lineno" > 511< / span >   < / div >
< div class = "line" > < a name = "l00516" > < / a > < span class = "lineno" > 516< / span >   detail::fvec4SIMD < a class = "code" href = "a00157.html#gab63646fc36b81cf69d3ce123a72f76f2" > reflect< / a > (< / div >
< div class = "line" > < a name = "l00517" > < / a > < span class = "lineno" > 517< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & I,< / div >
< div class = "line" > < a name = "l00518" > < / a > < span class = "lineno" > 518< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & N);< / div >
< div class = "line" > < a name = "l00519" > < / a > < span class = "lineno" > 519< / span >   < / div >
< div class = "line" > < a name = "l00525" > < / a > < span class = "lineno" > 525< / span >   detail::fvec4SIMD < a class = "code" href = "a00157.html#ga99d8ddb244b129892babaca9778206d0" > refract< / a > (< / div >
< div class = "line" > < a name = "l00526" > < / a > < span class = "lineno" > 526< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & I,< / div >
< div class = "line" > < a name = "l00527" > < / a > < span class = "lineno" > 527< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & N,< / div >
< div class = "line" > < a name = "l00528" > < / a > < span class = "lineno" > 528< / span >   < span class = "keywordtype" > float< / span > < span class = "keyword" > const< / span > & eta);< / div >
< div class = "line" > < a name = "l00529" > < / a > < span class = "lineno" > 529< / span >   < / div >
< div class = "line" > < a name = "l00533" > < / a > < span class = "lineno" > 533< / span >   detail::fvec4SIMD < a class = "code" href = "a00156.html#ga2317d4ff45af448b8402431afa0711f3" > sqrt< / a > (< / div >
< div class = "line" > < a name = "l00534" > < / a > < span class = "lineno" > 534< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00535" > < / a > < span class = "lineno" > 535< / span >   < / div >
< div class = "line" > < a name = "l00540" > < / a > < span class = "lineno" > 540< / span >   detail::fvec4SIMD niceSqrt(< / div >
< div class = "line" > < a name = "l00541" > < / a > < span class = "lineno" > 541< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00542" > < / a > < span class = "lineno" > 542< / span >   < / div >
< div class = "line" > < a name = "l00547" > < / a > < span class = "lineno" > 547< / span >   detail::fvec4SIMD < a class = "code" href = "a00197.html#gad57c343d2362c1469043adedeb8ef8eb" > fastSqrt< / a > (< / div >
< div class = "line" > < a name = "l00548" > < / a > < span class = "lineno" > 548< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00549" > < / a > < span class = "lineno" > 549< / span >   < / div >
< div class = "line" > < a name = "l00553" > < / a > < span class = "lineno" > 553< / span >   detail::fvec4SIMD < a class = "code" href = "a00156.html#ga5ac08ead2e50ad0295b9ad85a3e449e9" > inversesqrt< / a > (< / div >
< div class = "line" > < a name = "l00554" > < / a > < span class = "lineno" > 554< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00555" > < / a > < span class = "lineno" > 555< / span >   < / div >
< div class = "line" > < a name = "l00560" > < / a > < span class = "lineno" > 560< / span >   detail::fvec4SIMD fastInversesqrt(< / div >
< div class = "line" > < a name = "l00561" > < / a > < span class = "lineno" > 561< / span >   detail::fvec4SIMD < span class = "keyword" > const< / span > & x);< / div >
< div class = "line" > < a name = "l00562" > < / a > < span class = "lineno" > 562< / span >   < / div >
< div class = "line" > < a name = "l00564" > < / a > < span class = "lineno" > 564< / span >   }< span class = "comment" > //namespace glm< / span > < / div >
< div class = "line" > < a name = "l00565" > < / a > < span class = "lineno" > 565< / span >   < / div >
< div class = "line" > < a name = "l00566" > < / a > < span class = "lineno" > 566< / span >   < span class = "preprocessor" > #include " simd_vec4.inl" < / span > < / div >
< div class = "line" > < a name = "l00567" > < / a > < span class = "lineno" > 567< / span >   < / div >
< div class = "line" > < a name = "l00568" > < / a > < span class = "lineno" > 568< / span >   < span class = "preprocessor" > #if (GLM_COMPILER & GLM_COMPILER_VC)< / span > < / div >
< div class = "line" > < a name = "l00569" > < / a > < span class = "lineno" > 569< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > # pragma warning(pop)< / span > < / div >
< div class = "line" > < a name = "l00570" > < / a > < span class = "lineno" > 570< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00571" > < / a > < span class = "lineno" > 571< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00572" > < / a > < span class = "lineno" > 572< / span >   < span class = "preprocessor" > #endif//(GLM_ARCH != GLM_ARCH_PURE)< / span > < / div >
< div class = "line" > < a name = "l00573" > < / a > < span class = "lineno" > 573< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00574" > < / a > < span class = "lineno" > 574< / span >   < span class = "preprocessor" > #endif//GLM_GTX_simd_vec4< / span > < / div >
< div class = "ttc" id = "a00156_html_ga2317d4ff45af448b8402431afa0711f3" > < div class = "ttname" > < a href = "a00156.html#ga2317d4ff45af448b8402431afa0711f3" > glm::sqrt< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType sqrt(genType const & x)< / div > < div class = "ttdoc" > Returns the positive square root of x. < / div > < / div >
< div class = "ttc" id = "a00168_html_gaa8ea2429bb3cb41a715258a447f39897" > < div class = "ttname" > < a href = "a00168.html#gaa8ea2429bb3cb41a715258a447f39897" > glm::vec3< / a > < / div > < div class = "ttdeci" > highp_vec3 vec3< / div > < div class = "ttdoc" > 3 components vector of floating-point numbers. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "a00134_source.html#l00414" > type_vec.hpp:414< / a > < / div > < / div >
< div class = "ttc" id = "a00155_html_ga86350252cc9bf86421317460bbd1f21c" > < div class = "ttname" > < a href = "a00155.html#ga86350252cc9bf86421317460bbd1f21c" > glm::floor< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType floor(genType const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer that is less then or equal to x. < / div > < / div >
< div class = "ttc" id = "a00157_html_ga89b91c2a256cfb62ecbc589d1ee36d3c" > < div class = "ttname" > < a href = "a00157.html#ga89b91c2a256cfb62ecbc589d1ee36d3c" > glm::cross< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL detail::tvec3< T, P > cross(detail::tvec3< T, P > const & x, detail::tvec3< T, P > const & y)< / div > < div class = "ttdoc" > Returns the cross product of x and y. < / div > < / div >
< div class = "ttc" id = "a00155_html_ga78aae7eea618ca112053d59fe03db239" > < div class = "ttname" > < a href = "a00155.html#ga78aae7eea618ca112053d59fe03db239" > glm::mix< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genTypeT mix(genTypeT const & x, genTypeT const & y, genTypeU const & a)< / div > < div class = "ttdoc" > If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...< / div > < / div >
< div class = "ttc" id = "a00168_html_gafbab23070ca47932487d25332adc7d7c" > < div class = "ttname" > < a href = "a00168.html#gafbab23070ca47932487d25332adc7d7c" > glm::vec4< / a > < / div > < div class = "ttdeci" > highp_vec4 vec4< / div > < div class = "ttdoc" > 4 components vector of floating-point numbers. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "a00134_source.html#l00419" > type_vec.hpp:419< / a > < / div > < / div >
< div class = "ttc" id = "a00197_html_gad57c343d2362c1469043adedeb8ef8eb" > < div class = "ttname" > < a href = "a00197.html#gad57c343d2362c1469043adedeb8ef8eb" > glm::fastSqrt< / a > < / div > < div class = "ttdeci" > genType fastSqrt(genType const & x)< / div > < div class = "ttdoc" > Faster than the common sqrt function but less accurate. < / div > < / div >
< div class = "ttc" id = "a00155_html_ga8cc8a75b05125fe1c30de43102ef42e1" > < div class = "ttname" > < a href = "a00155.html#ga8cc8a75b05125fe1c30de43102ef42e1" > glm::mod< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType mod(genType const & x, genType const & y)< / div > < div class = "ttdoc" > Modulus. < / div > < / div >
< div class = "ttc" id = "a00156_html_ga5ac08ead2e50ad0295b9ad85a3e449e9" > < div class = "ttname" > < a href = "a00156.html#ga5ac08ead2e50ad0295b9ad85a3e449e9" > glm::inversesqrt< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType inversesqrt(genType const & x)< / div > < div class = "ttdoc" > Returns the reciprocal of the positive square root of x. < / div > < / div >
< div class = "ttc" id = "a00157_html_ga15aa87101457e41663b08a8dcc3357f8" > < div class = "ttname" > < a href = "a00157.html#ga15aa87101457e41663b08a8dcc3357f8" > glm::normalize< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType normalize(genType const & x)< / div > < div class = "ttdoc" > Returns a vector in the same direction as x but with length of 1. < / div > < / div >
< div class = "ttc" id = "a00155_html_gad04ac2908d032d5518d5f6c8403dbc8b" > < div class = "ttname" > < a href = "a00155.html#gad04ac2908d032d5518d5f6c8403dbc8b" > glm::fract< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType fract(genType const & x)< / div > < div class = "ttdoc" > Return x - floor(x). < / div > < / div >
< div class = "ttc" id = "a00155_html_gab81e02fff55c9391e28fa47e68c3c903" > < div class = "ttname" > < a href = "a00155.html#gab81e02fff55c9391e28fa47e68c3c903" > glm::ceil< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType ceil(genType const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer that is greater than or equal to x. < / div > < / div >
< div class = "ttc" id = "a00155_html_gad0f444d4b81cc53c3b6edf5aa25078c2" > < div class = "ttname" > < a href = "a00155.html#gad0f444d4b81cc53c3b6edf5aa25078c2" > glm::fma< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType fma(genType const & a, genType const & b, genType const & c)< / div > < div class = "ttdoc" > Computes and returns a * b + c. < / div > < / div >
< div class = "ttc" id = "a00197_html_ga2953e7426a420bb2b33affce7360ef40" > < div class = "ttname" > < a href = "a00197.html#ga2953e7426a420bb2b33affce7360ef40" > glm::fastNormalize< / a > < / div > < div class = "ttdeci" > genType fastNormalize(genType const & x)< / div > < div class = "ttdoc" > Faster than the common normalize function but less accurate. < / div > < / div >
< div class = "ttc" id = "a00155_html_gaf21c84759af7799f573865f70c2f0a86" > < div class = "ttname" > < a href = "a00155.html#gaf21c84759af7799f573865f70c2f0a86" > glm::step< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType step(genType const & edge, genType const & x)< / div > < div class = "ttdoc" > Returns 0.0 if x & lt; edge, otherwise it returns 1.0 for each component of a genType. < / div > < / div >
< div class = "ttc" id = "a00155_html_gadb091aed51e45872f6dc841affa41c5c" > < div class = "ttname" > < a href = "a00155.html#gadb091aed51e45872f6dc841affa41c5c" > glm::trunc< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType trunc(genType const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolut...< / div > < / div >
< div class = "ttc" id = "a00157_html_ga03b2831439defb8922832b540b91b8a7" > < div class = "ttname" > < a href = "a00157.html#ga03b2831439defb8922832b540b91b8a7" > glm::length< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType::value_type length(genType const & x)< / div > < div class = "ttdoc" > Returns the length of x, i.e., sqrt(x * x). < / div > < / div >
< div class = "ttc" id = "a00155_html_ga75ebab3fe88a9c5c769135cf5a2649ef" > < div class = "ttname" > < a href = "a00155.html#ga75ebab3fe88a9c5c769135cf5a2649ef" > glm::round< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType round(genType const & x)< / div > < div class = "ttdoc" > Returns a value equal to the nearest integer to x. < / div > < / div >
< div class = "ttc" id = "a00157_html_ga99d8ddb244b129892babaca9778206d0" > < div class = "ttname" > < a href = "a00157.html#ga99d8ddb244b129892babaca9778206d0" > glm::refract< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL vecType< T, P > refract(vecType< T, P > const & I, vecType< T, P > const & N, T const & eta)< / div > < div class = "ttdoc" > For the incident vector I and surface normal N, and the ratio of indices of refraction eta...< / div > < / div >
< div class = "ttc" id = "a00155_html_gaea946f96ec1df259802effe9f532e1c1" > < div class = "ttname" > < a href = "a00155.html#gaea946f96ec1df259802effe9f532e1c1" > glm::abs< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType abs(genType const & x)< / div > < div class = "ttdoc" > Returns x if x & gt;= 0; otherwise, it returns -x. < / div > < / div >
< div class = "ttc" id = "a00155_html_ga754103c8d2cdaf40f71429252457c10a" > < div class = "ttname" > < a href = "a00155.html#ga754103c8d2cdaf40f71429252457c10a" > glm::smoothstep< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType smoothstep(genType const & edge0, genType const & edge1, genType const & x)< / div > < div class = "ttdoc" > Returns 0.0 if x & lt;= edge0 and 1.0 if x & gt;= edge1 and performs smooth Hermite interpolation between 0 a...< / div > < / div >
< div class = "ttc" id = "a00155_html_ga72e9e213c84f06a329a2a838b51200f4" > < div class = "ttname" > < a href = "a00155.html#ga72e9e213c84f06a329a2a838b51200f4" > glm::clamp< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType clamp(genType const & x, genType const & minVal, genType const & maxVal)< / div > < div class = "ttdoc" > Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...< / div > < / div >
< div class = "ttc" id = "a00157_html_gab63646fc36b81cf69d3ce123a72f76f2" > < div class = "ttname" > < a href = "a00157.html#gab63646fc36b81cf69d3ce123a72f76f2" > glm::reflect< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType reflect(genType const & I, genType const & N)< / div > < div class = "ttdoc" > For the incident vector I and surface orientation N, returns the reflection direction : result = I - ...< / div > < / div >
< div class = "ttc" id = "a00155_html_gaa228561a9da55898f8f72ad2403fafac" > < div class = "ttname" > < a href = "a00155.html#gaa228561a9da55898f8f72ad2403fafac" > glm::max< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType max(genType const & x, genType const & y)< / div > < div class = "ttdoc" > Returns y if x & lt; y; otherwise, it returns x. < / div > < / div >
< div class = "ttc" id = "a00157_html_ga00716eae37e8ae2a76ca7799f9c75682" > < div class = "ttname" > < a href = "a00157.html#ga00716eae37e8ae2a76ca7799f9c75682" > glm::distance< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType::value_type distance(genType const & p0, genType const & p1)< / div > < div class = "ttdoc" > Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). < / div > < / div >
< div class = "ttc" id = "a00155_html_gaa7afd59ab947e313d41cb6d9c655a80c" > < div class = "ttname" > < a href = "a00155.html#gaa7afd59ab947e313d41cb6d9c655a80c" > glm::sign< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType sign(genType const & x)< / div > < div class = "ttdoc" > Returns 1.0 if x & gt; 0, 0.0 if x == 0, or -1.0 if x & lt; 0. < / div > < / div >
< div class = "ttc" id = "a00197_html_ga2e726cc8b9f02b7c09910858ea1afac6" > < div class = "ttname" > < a href = "a00197.html#ga2e726cc8b9f02b7c09910858ea1afac6" > glm::fastLength< / a > < / div > < div class = "ttdeci" > genType::value_type fastLength(genType const & x)< / div > < div class = "ttdoc" > Faster than the common length function but less accurate. < / div > < / div >
< div class = "ttc" id = "a00155_html_ga3dc90dbd66c9ca1dd5625c93d9c50f02" > < div class = "ttname" > < a href = "a00155.html#ga3dc90dbd66c9ca1dd5625c93d9c50f02" > glm::min< / a > < / div > < div class = "ttdeci" > GLM_FUNC_DECL genType min(genType const & x, genType const & y)< / div > < div class = "ttdoc" > Returns y if y & lt; x; otherwise, it returns x. < / div > < / div >
< div class = "ttc" id = "a00168_html_ga09d0200e8ff86391d8804b4fefd5f1da" > < div class = "ttname" > < a href = "a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da" > glm::vec2< / a > < / div > < div class = "ttdeci" > highp_vec2 vec2< / div > < div class = "ttdoc" > 2 components vector of floating-point numbers. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "a00134_source.html#l00409" > type_vec.hpp:409< / a > < / div > < / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
2012-09-05 22:30:34 +00:00
< 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" / >
2013-12-25 22:48:55 +00:00
< / a > 1.8.5
2012-09-05 22:30:34 +00:00
< / small > < / address >
< / body >
< / html >