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/a00292.html | 202 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 glm-master/doc/api/a00292.html (limited to 'glm-master/doc/api/a00292.html') diff --git a/glm-master/doc/api/a00292.html b/glm-master/doc/api/a00292.html new file mode 100644 index 0000000..14ee5af --- /dev/null +++ b/glm-master/doc/api/a00292.html @@ -0,0 +1,202 @@ + + + + + + +0.9.9 API documentation: GLM_GTC_integer + + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documentation +
+
+
+ + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_integer
+
+
+ +

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

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

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType log2 (genIUType x)
 Returns the log2 of x for integer values. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
+

Detailed Description

+

Include <glm/gtc/integer.hpp> to use the features of this extension.

+

Allow to perform bit operations on integer values

+

Function Documentation

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, int, Q> glm::iround (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer to x.

+

The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest.

+
Parameters
+ + +
xThe values of the argument must be greater or equal to zero.
+
+
+
Template Parameters
+ + +
Tfloating point scalar types.
+
+
+
See also
GLSL round man page
+
+GLM_GTC_integer
+ +
+
+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genIUType glm::log2 (genIUType x)
+
+ +

Returns the log2 of x for integer values.

+

Usefull to compute mipmap count from the texture size.

See also
GLM_GTC_integer
+ +
+
+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, uint, Q> glm::uround (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer to x.

+

The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest.

+
Parameters
+ + +
xThe values of the argument must be greater or equal to zero.
+
+
+
Template Parameters
+ + +
Tfloating point scalar types.
+
+
+
See also
GLSL round man page
+
+GLM_GTC_integer
+ +
+
+
+ + + + -- cgit v1.2.3-70-g09d2