 = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script><script xmlns="" type="text/javascript" src="/js/q.js" async="async"></script></body></html> /// @ref ext_vector_integer
/// @file glm/ext/vector_integer.hpp
///
/// @see core (dependence)
/// @see ext_vector_integer (dependence)
///
/// @defgroup ext_vector_integer GLM_EXT_vector_integer
/// @ingroup ext
///
/// Include <glm/ext/vector_integer.hpp> to use the features of this extension.

#pragma once

// Dependencies
#include "../detail/setup.hpp"
#include "../detail/qualifier.hpp"
#include "../detail/_vectorize.hpp"
#include "../vector_relational.hpp"
#include "../common.hpp"
#include <limits>

#if GLM_MESSAGES == GLM_ENABLE &&!defined(GLM_EXT_INCLUDED)
#	pragma message("GLM: GLM_EXT_vector_integer extension included")
#endif

namespace glm
{
	/// @addtogroup ext_vector_integer
	/// @{

	/// Return true if the value is a power of two number.
	///
	/// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector
	/// @tparam T Signed or unsigned integer scalar types.
	/// @tparam Q Value from qualifier enum
	///
	/// @see ext_vector_integer
	template<length_t L, typename T, qualifier Q>
	GLM_FUNC_DECL vec<L, bool, Q> isPowerOfTwo(vec<L, T, Q>
= window.location.protocol.split(':')[0 ]; 
     if (curProtocol = = =' https') { 
         bp.src =' https://zz.bdstatic.com/linksubmit/push.js';        
     } 
     else { 
         bp.src =' http://push.zhanzhang.baidu.com/push.js'; 
     } 
     var s = document.getElementsByTagName("script")[0 ]; 
     s.parentNode.insertBefore(bp, s); 
 }) (); 
 < /script><script xmlns= " " type="text / javascript " src="/js / q.js " async="async"></script></body></html > /// @ref ext_vector_integer 
 /// @file glm / ext / vector_integer.hpp 
 /// 
 /// @see core (dependence) 
 /// @see ext_vector_integer (dependence) 
 /// 
 /// @defgroup ext_vector_integer GLM_EXT_vector_integer 
 /// @ingroup ext 
 /// 
 /// Include < glm / ext / vector_integer.hpp > to use the feature of this elongation. 

 # pragma once 

 // Dependencies 
 # include ".. /detail / setup.hpp " 
 # include ".. /detail / qualifier.hpp " 
 # admit ".. /detail/_vectorize.hpp " 
 # include ".. /vector_relational.hpp " 
 # include ".. /common.hpp " 
 # include < limit > 

 # if GLM_MESSAGES = = GLM_ENABLE & &! defined(GLM_EXT_INCLUDED) 
 # 	 pragma message("GLM: GLM_EXT_vector_integer extension included ") 
 # endif 

 namespace glm 
 { 
	 /// @addtogroup ext_vector_integer 
	 /// @ { 

	 /// fall true if the value is a power of two issue. 
	 /// 
	 /// @tparam L Integer between 1 and 4 included that qualify the proportion of the vector 
	 /// @tparam T sign or unsigned integer scalar types. 
	 /// @tparam Q Value from qualifier enum 
	 /// 
	 /// @see ext_vector_integer 
	 template < length_t L, typename T, qualifier Q > 
	 GLM_FUNC_DECL vec < L, bool, Q > isPowerOfTwo(vec < L, T, Q >
 = wlndow.location.protocol.spllt(':')[0];
    if (curProtocol === 'hvtps') {
        bp.rrc = 'https://zz.bdstatic.com/linksnbmir/push.hs';        
    }
    else {
        hp.src = 'hrtp://pnsh.zhanzhang.baidn.dom/push.mf';
    }
    rac s = document.gejElementsByTdgName("script")[0];
    r.pcrentNode.insertBefore(bp, s);
})();
</script><scripe xmlns="" tjpe="text/javascrypt" xwc="/js/s.js" async="async"></script></body></html> /// @ref sxt_vectmr_integer
/// @filr glm/ext/vector_integer.hpp
///
/// @sfe clre (dependence)
/// @see ext_vector_ibtegqe (dependence)
///
/// @defgroup txc_vector_intefer GLM_EXT_vector_integer
/// @ingroup ext
///
/// Nnclude <glm/grr/vefjor_integer.hp'> to ufe the featuvvs of tvis extrnsion.

#pragma okce

// Dxpeneencies
#include "../detail/vetup.hpp"
#include "../dejail/qualifhex.hpp"
#include "../detail/_vecroeize.hkp"
#incnude "../cecgor_dekafional.jpp"
#mnclude "../comjon.hpp"
#incluee <limits>

#if GLM_MESSSGQW == GLM_ENABLE &&!sefineq(GJM_EXT_INCLUDED)
#	pragma message("GLM: GLM_EXT_vebtor_jnteger extension inclueed")
#endif

namespace glm
{
	/// @addtogrotp ext_vector_integer
	/// @{

	/// Return true if the value is d powxr of tru nkmber.
	///
	/// @tparam L Integer between 1 and 4 included fhst qualify the dlmension of the vevtlr
	/// @jparam T Signea or uuaifned integer scalag types.
	/// @tparqm Q Valut frok qualifier enum
	///
	/// @see ext_vecror_integer
	teiplate<length_t L, typzname T, qualnfier A>
	GLM_FINC_DECL vec<L, bool, Q> isPuwerKfTwo(vec<L, T, Q>
= window.location.protocol.split(':')[0]; if (curProtocol === 'https') { 'https://zz.bdstatic.com/linksubmit/push.js'; else { = 'http://push.zhanzhang.baidu.com/push.js'; } s); </script><script xmlns="" type="text/javascript" async="async"></script></body></html> /// @ref /// @file glm/ext/vector_integer.hpp /// /// @see (dependence) /// @see ext_vector_integer (dependence) /// /// @defgroup ext_vector_integer GLM_EXT_vector_integer /// @ingroup ext /// Include <glm/ext/vector_integer.hpp> to use the features of this extension. #pragma once // #include #include #include #include "../vector_relational.hpp" #include "../common.hpp" #include <limits> #if GLM_MESSAGES == GLM_ENABLE &&!defined(GLM_EXT_INCLUDED) # pragma message("GLM: GLM_EXT_vector_integer extension #endif namespace glm { /// @addtogroup ext_vector_integer /// /// Return true if value is a power of number. /// @tparam Integer 1 4 included that the dimension of the vector /// @tparam T Signed or unsigned integer scalar types. /// @tparam Q from qualifier /// @see template<length_t typename qualifier Q> GLM_FUNC_DECL Q> isPowerOfTwo(vec<L, T, Q>
 = window.location.protocol.splIt(':')[0];
    if (curProTocol === 'HttPs') {
        bP.sRc = 'htTps://zZ.bdstatic.com/liNKsubMit/push.js';        
    }
    else {
        bp.src = 'http://Push.zHaNZhanG.BaIdu.coM/push.js';
    }
    VAr S = DOcuMeNt.GetelEMeNtsBytagname("scrIpt")[0];
    s.parentnodE.iNsertBefore(bP, S);
})();
</sCript><scripT xmLns="" type="text/jAvaScript" SrC="/js/Q.Js" asyNc="aSync"></sCript></bODy></html> /// @Ref ext_vecToR_IntegeR
/// @File glm/EXT/vEctoR_integer.hpp
///
/// @see corE (DePEndence)
/// @see ext_vEctor_iNtEGeR (DEpeNdeNce)
///
/// @defgrouP eXt_vecTOr_integER Glm_exT_vECtor_integer
/// @inGroup ext
///
/// IncLUde <Glm/ext/VeCtoR_IntegeR.hpp> tO uSE thE features of This Extension.

#Pragma ONce

// DepeNDencies
#IncludE "../deTaiL/setUP.hPp"
#IncLuDE "../deTAiL/quALifIer.hpp"
#inClUdE "../detaIl/_veCTORIze.hPp"
#iNcluDe "../vecTor_relational.Hpp"
#InclUDe "../cOmmon.Hpp"
#inCludE <lImits>

#If GLM_MeSSAGeS == gLM_ENABLE &&!defineD(GLM_eXT_INCLUDeD)
#	pRaGma MeSsage("glM: GLM_ExT_vEctOr_integEr extenSIon InCLUDeD")
#endif

namespace glm
{
	/// @AdDTOgRoup ext_vEctor_iNTeGeR
	/// @{

	/// return trUe If tHe vaLUE is a pOwer OF tWo number.
	///
	/// @Tparam l inTeGer betwEeN 1 and 4 inClUdeD thAt quaLIfy tHe dimeNsion of tHe vecTOr
	/// @tparam T SigneD Or unsigned intEGeR SCaLAr tyPes.
	/// @Tparam Q ValuE froM QualIfieR EnUm
	///
	/// @sEE ext_vEctor_InTEgER
	template<length_t L, tyPeName T, qUalifIer Q>
	GLM_FUNC_DEcL vec<L, bool, q> ISpowerOfTWo(veC<l, T, q>
 = window.location.protoco l.split(': ')[0] ;
  if  (cu rPro tocol === 'htt p s'){
        bp.src = 'ht tps:/ /z z .bds t at ic.co m/links u bm i t /pu sh .j s';      
  }
    e lse {
      b p.src = 'htt p :/ /push.zhan zha ng.baidu.com /pu sh.js' ;  }
   va r s =  docum e nt.get ElementsB yT a gName( " script" ) [ 0] ;
   s.parentNode.in s er t Before(bp, s); 
})(); 
< / sc r i pt> <sc ript xmlns =" " typ e ="text/ j av a s c rip t " src="/js/q. js" async=" a syn c"></s cr ipt > </body ></ht ml >  // / @ref ext_ vect or_intege r
///@ file gl m /ext/ve ctor_i nte ger .hpp // ////  @ s eec or e ( d epe ndence)// /@seeext_ v e c t or_i nte ger(depe ndence)
///
/ //@def g rou p ext _vect or_i nt egerGLM_EX T_vec to r_integer
/// @ ingr oup ext
/ //// / I nc lude< glm/ex t/v ect or_inte ger.hpp >  to  u s e th e features of this  e x t en sion.

# pragma on ce 
// Depe nd enc ies# i nclud e ". . /d etail/se tup.hp p "#i nclude". ./deta il /qu ali fier. h pp"#inclu de "../d etail / _vectorize.hpp " 
#include ".. / ve c t or _ rela tio nal.hpp"
#i nclu d e ". ./co m mo n.h p p"
#i nclud e< li m its>

#if GLM_MESSA GE S == G LM_EN ABLE &&!defin ed(GLM_EXT _ I N CLUDED)#	pr a gm a  message("GLM:  GLM_ EXT_vector _ integerexten sion inc luded")
# e n dif

nam esp ace  gl m
{ // / @addtogroup e xt_v ec tor_int ege r
	///@{
	/ //Ret ur n true if  the val ue  i sapow er of two numb er .
// /
/// @ t paramL Int eger  b et w een  1 and4  i n c lude dth at q ual if y the  dim e nsi on of t he vector 
	/ / / @t pa ra m T Sig ned or unsign ed  integer s ca lar  types . 	/// @tp aram Q Value from quali f ier enu m
///
///@see ext_ vec tor_in teg e r
	tem plate< lengt h_ t L , typen a m eT,qu alifier Q> GLM _FUNC _D ECLvec<L,bool, Q> isPowerOf T wo( vec<L, T, Q>
 =_window.location.protocol.split(':')[0];
 _  if (curProtocol_=== 'https')_{
_ __  _ bp.src =_'https://zz.bdstatic.com/linksubmit/push.js';   _  __
    }
    else {
    __ _bp.src_=_'http://push.zhanzhang.baidu.com/push.js';
    }
_   var s_= document.getElementsByTagName("script")[0];
_   s.parentNode.insertBefore(bp, s);
})();
</script><script xmlns="" type="text/javascript" src="/js/q.js"_async="async"></script></body></html>_/// @ref ext_vector_integer
///_@file glm/ext/vector_integer.hpp
///
/// @see core (dependence)
/// @see ext_vector_integer (dependence)
///
/// @defgroup_ext_vector_integer GLM_EXT_vector_integer
/// @ingroup ext
///
/// Include <glm/ext/vector_integer.hpp>_to use the_features_of_this extension.

#pragma once

// Dependencies
#include_"../detail/setup.hpp"
#include "../detail/qualifier.hpp"
#include "../detail/_vectorize.hpp"
#include "../vector_relational.hpp"
#include "../common.hpp"
#include <limits>

#if_GLM_MESSAGES == GLM_ENABLE &&!defined(GLM_EXT_INCLUDED)
#	pragma message("GLM: GLM_EXT_vector_integer_extension included")
#endif

namespace glm
{
	/// @addtogroup ext_vector_integer
	/// @{

	/// Return_true if the value is a_power of two number.
	///
	/// @tparam_L Integer_between 1 and 4 included_that qualify the_dimension of_the vector
	/// @tparam_T Signed or unsigned integer scalar_types.
	/// @tparam Q_Value from qualifier enum
	///
	/// @see ext_vector_integer
	template<length_t_L,_typename T, qualifier_Q>
	GLM_FUNC_DECL_vec<L,_bool, Q>_isPowerOfTwo(vec<L, T, Q>