From 675391d07f50d0067e7bab983433c6d86f5f8256 Mon Sep 17 00:00:00 2001 From: jjesswan Date: Tue, 7 May 2024 06:03:03 -0400 Subject: remove glm --- glm-master/doc/api/a00019_source.html | 150 ---------------------------------- 1 file changed, 150 deletions(-) delete mode 100644 glm-master/doc/api/a00019_source.html (limited to 'glm-master/doc/api/a00019_source.html') diff --git a/glm-master/doc/api/a00019_source.html b/glm-master/doc/api/a00019_source.html deleted file mode 100644 index d2fd66f..0000000 --- a/glm-master/doc/api/a00019_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -0.9.9 API documentation: compute_common.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documentation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
compute_common.hpp
-
-
-
1 #pragma once
-
2 
-
3 #include "setup.hpp"
-
4 #include <limits>
-
5 
-
6 namespace glm{
-
7 namespace detail
-
8 {
-
9  template<typename genFIType, bool /*signed*/>
-
10  struct compute_abs
-
11  {};
-
12 
-
13  template<typename genFIType>
-
14  struct compute_abs<genFIType, true>
-
15  {
-
16  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genFIType call(genFIType x)
-
17  {
-
18  GLM_STATIC_ASSERT(
-
19  std::numeric_limits<genFIType>::is_iec559 || std::numeric_limits<genFIType>::is_signed,
-
20  "'abs' only accept floating-point and integer scalar or vector inputs");
-
21 
-
22  return x >= genFIType(0) ? x : -x;
-
23  // TODO, perf comp with: *(((int *) &x) + 1) &= 0x7fffffff;
-
24  }
-
25  };
-
26 
-
27 #if GLM_COMPILER & GLM_COMPILER_CUDA
-
28  template<>
-
29  struct compute_abs<float, true>
-
30  {
-
31  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static float call(float x)
-
32  {
-
33  return fabsf(x);
-
34  }
-
35  };
-
36 #endif
-
37 
-
38  template<typename genFIType>
-
39  struct compute_abs<genFIType, false>
-
40  {
-
41  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genFIType call(genFIType x)
-
42  {
-
43  GLM_STATIC_ASSERT(
-
44  (!std::numeric_limits<genFIType>::is_signed && std::numeric_limits<genFIType>::is_integer),
-
45  "'abs' only accept floating-point and integer scalar or vector inputs");
-
46  return x;
-
47  }
-
48  };
-
49 }//namespace detail
-
50 }//namespace glm
-
Definition: common.hpp:20
-
- - - - -- cgit v1.2.3-70-g09d2