<ahref="a00581.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> </div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "../detail/setup.hpp"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> </div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_scalar_multiplication is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> </div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor">#if !GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor"># error "GLM_GTX_scalar_multiplication requires C++11 support or alias templates and if not support for GCC"</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> </div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor">#include "../vec2.hpp"</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor">#include "../vec3.hpp"</span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="preprocessor">#include "../vec4.hpp"</span></div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="preprocessor">#include "../mat2x2.hpp"</span></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> <spanclass="preprocessor">#include <type_traits></span></div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> </div><divclass="line"><aname="l00033"></a><spanclass="lineno"> 33</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> {</div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T, <spanclass="keyword">typename</span> Vec></div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="keyword">using</span> return_type_scalar_multiplication = <spanclass="keyword">typename</span> std::enable_if<</div><divclass="line"><aname="l00037"></a><spanclass="lineno"> 37</span>  !std::is_same<T, float>::value <spanclass="comment">// T may not be a float</span></div><divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span> && std::is_arithmetic<T>::value, Vec <spanclass="comment">// But it may be an int or double (no vec3 or mat3, ...)</span></div><divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span> >::type;</div><divclass="line"><aname="l00040"></a><spanclass="lineno"> 40</span> </div><divclass="line"><aname="l00041"></a><
<divclass="ttc"id="a00701_html_ga8e879b57ddd81e5bf5a88929844e8b40"><divclass="ttname"><ahref="a00701.html#ga8e879b57ddd81e5bf5a88929844e8b40">glm::mat2x4</a></div><divclass="ttdeci">mat< 2, 4, float, defaultp > mat2x4</div><divclass="ttdoc">2 columns of 4 components matrix of single-precision floating-point numbers. </div><divclass="ttdef"><b>Definition:</b><ahref="a00152_source.html#l00015">matrix_float2x4.hpp:15</a></div></div>