From 6a45579dbbf991c0e12ce59958e3b533d19fc9d4 Mon Sep 17 00:00:00 2001 From: jjesswan Date: Tue, 7 May 2024 06:02:29 -0400 Subject: rotating skyboxgit add -A --- glm-master/doc/api/a00261.html | 336 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 glm-master/doc/api/a00261.html (limited to 'glm-master/doc/api/a00261.html') diff --git a/glm-master/doc/api/a00261.html b/glm-master/doc/api/a00261.html new file mode 100644 index 0000000..9772b95 --- /dev/null +++ b/glm-master/doc/api/a00261.html @@ -0,0 +1,336 @@ + + + + + + +0.9.9 API documentation: GLM_EXT_scalar_integer + + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documentation +
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_scalar_integer
+
+
+ +

Include <glm/ext/scalar_integer.hpp> to use the features of this extension. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genIUType >
GLM_FUNC_DECL int findNSB (genIUType x, int significantBitCount)
 Returns the bit number of the Nth significant bit set to 1 in the binary representation of value. More...
 
template<typename genIUType >
GLM_FUNC_DECL bool isMultiple (genIUType v, genIUType Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
 
template<typename genIUType >
GLM_FUNC_DECL bool isPowerOfTwo (genIUType v)
 Return true if the value is a power of two number. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType nextMultiple (genIUType v, genIUType Multiple)
 Higher multiple number of Source. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType nextPowerOfTwo (genIUType v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType prevMultiple (genIUType v, genIUType Multiple)
 Lower multiple number of Source. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType prevPowerOfTwo (genIUType v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
 
+

Detailed Description

+

Include <glm/ext/scalar_integer.hpp> to use the features of this extension.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int glm::findNSB (genIUType x,
int significantBitCount 
)
+
+ +

Returns the bit number of the Nth significant bit set to 1 in the binary representation of value.

+

If value bitcount is less than the Nth significant bit, -1 will be returned.

+
Template Parameters
+ + +
genIUTypeSigned or unsigned integer scalar types.
+
+
+
See also
GLM_EXT_scalar_integer
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL bool glm::isMultiple (genIUType v,
genIUType Multiple 
)
+
+ +

Return true if the 'Value' is a multiple of 'Multiple'.

+
See also
GLM_EXT_scalar_integer
+ +
+
+ +
+
+ + + + + + + + +
GLM_FUNC_DECL bool glm::isPowerOfTwo (genIUType v)
+
+ +

Return true if the value is a power of two number.

+
See also
GLM_EXT_scalar_integer
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genIUType glm::nextMultiple (genIUType v,
genIUType Multiple 
)
+
+ +

Higher multiple number of Source.

+
Template Parameters
+ + +
genIUTypeInteger scalar or vector types.
+
+
+
Parameters
+ + + +
vSource value to which is applied the function
MultipleMust be a null or positive value
+
+
+
See also
GLM_EXT_scalar_integer
+ +
+
+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genIUType glm::nextPowerOfTwo (genIUType v)
+
+ +

Return the power of two number which value is just higher the input value, round up to a power of two.

+
See also
GLM_EXT_scalar_integer
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genIUType glm::prevMultiple (genIUType v,
genIUType Multiple 
)
+
+ +

Lower multiple number of Source.

+
Template Parameters
+ + +
genIUTypeInteger scalar or vector types.
+
+
+
Parameters
+ + + +
vSource value to which is applied the function
MultipleMust be a null or positive value
+
+
+
See also
GLM_EXT_scalar_integer
+ +
+
+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genIUType glm::prevPowerOfTwo (genIUType v)
+
+ +

Return the power of two number which value is just lower the input value, round down to a power of two.

+
See also
GLM_EXT_scalar_integer
+ +
+
+
+ + + + -- cgit v1.2.3-70-g09d2