Home
last modified time | relevance | path

Searched refs:genType (Results 1 – 25 of 68) sorted by relevance

123

/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dconstants.inl8 template <typename genType>
9 GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType epsilon()
11 return std::numeric_limits<genType>::epsilon();
14 template <typename genType>
15 GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType zero()
17 return genType(0);
20 template <typename genType>
21 GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType one()
23 return genType(1);
26 template <typename genType>
[all …]
Dconstants.hpp30 template <typename genType>
31 GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon();
35 template <typename genType>
36 GLM_FUNC_DECL GLM_CONSTEXPR genType zero();
40 template <typename genType>
41 GLM_FUNC_DECL GLM_CONSTEXPR genType one();
45 template <typename genType>
46 GLM_FUNC_DECL GLM_CONSTEXPR genType pi();
50 template <typename genType>
51 GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi();
[all …]
Dreciprocal.hpp33 template <typename genType>
34 GLM_FUNC_DECL genType sec(genType angle);
42 template <typename genType>
43 GLM_FUNC_DECL genType csc(genType angle);
51 template <typename genType>
52 GLM_FUNC_DECL genType cot(genType angle);
60 template <typename genType>
61 GLM_FUNC_DECL genType asec(genType x);
69 template <typename genType>
70 GLM_FUNC_DECL genType acsc(genType x);
[all …]
Dround.inl75 template <typename genType>
76 GLM_FUNC_QUALIFIER static genType call(genType Source, genType Multiple)
78 if(Source > genType(0))
88 template <typename genType>
89 GLM_FUNC_QUALIFIER static genType call(genType Source, genType Multiple)
91 genType Tmp = Source - genType(1);
99 template <typename genType>
100 GLM_FUNC_QUALIFIER static genType call(genType Source, genType Multiple)
102 if(Source > genType(0))
104 genType Tmp = Source - genType(1);
[all …]
Dmatrix_access.hpp28 template <typename genType>
29 GLM_FUNC_DECL typename genType::row_type row(
30 genType const & m,
35 template <typename genType>
36 GLM_FUNC_DECL genType row(
37 genType const & m,
39 typename genType::row_type const & x);
43 template <typename genType>
44 GLM_FUNC_DECL typename genType::col_type column(
45 genType const & m,
[all …]
Depsilon.hpp44 template <typename genType>
46 genType const & x,
47 genType const & y,
48 genType const & epsilon);
54 template <typename genType>
55 GLM_FUNC_DECL typename genType::boolType epsilonNotEqual(
56 genType const & x,
57 genType const & y,
58 typename genType::value_type const & epsilon);
64 template <typename genType>
[all …]
Dreciprocal.inl10 template <typename genType>
11 GLM_FUNC_QUALIFIER genType sec(genType angle)
13 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'sec' only accept floating-point value…
14 return genType(1) / glm::cos(angle);
25 template <typename genType>
26 GLM_FUNC_QUALIFIER genType csc(genType angle)
28 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'csc' only accept floating-point value…
29 return genType(1) / glm::sin(angle);
40 template <typename genType>
41 GLM_FUNC_QUALIFIER genType cot(genType angle)
[all …]
Dmatrix_access.inl6 template <typename genType>
7 GLM_FUNC_QUALIFIER genType row
9 genType const & m,
11 typename genType::row_type const & x
16 genType Result = m;
22 template <typename genType>
23 GLM_FUNC_QUALIFIER typename genType::row_type row
25 genType const & m,
31 typename genType::row_type Result;
37 template <typename genType>
[all …]
Dulp.hpp32 template <typename genType>
33 GLM_FUNC_DECL genType next_float(genType const & x);
37 template <typename genType>
38 GLM_FUNC_DECL genType prev_float(genType const & x);
42 template <typename genType>
43 GLM_FUNC_DECL genType next_float(genType const & x, uint const & Distance);
47 template <typename genType>
48 GLM_FUNC_DECL genType prev_float(genType const & x, uint const & Distance);
Dmatrix_inverse.hpp35 template <typename genType>
36 GLM_FUNC_DECL genType affineInverse(genType const & m);
43 template <typename genType>
44 GLM_FUNC_DECL genType inverseTranspose(genType const & m);
Dround.hpp110 template <typename genType>
111 GLM_FUNC_DECL genType ceilMultiple(genType Source, genType Multiple);
130 template <typename genType>
131 GLM_FUNC_DECL genType floorMultiple(
132 genType Source,
133 genType Multiple);
154 template <typename genType>
155 GLM_FUNC_DECL genType roundMultiple(
156 genType Source,
157 genType Multiple);
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dintersect.hpp36 template <typename genType>
38 genType const & orig, genType const & dir,
39 genType const & planeOrig, genType const & planeNormal,
40 typename genType::value_type & intersectionDistance);
44 template <typename genType>
46 genType const & orig, genType const & dir,
47 genType const & vert0, genType const & vert1, genType const & vert2,
48 genType & baryPosition);
52 template <typename genType>
54 genType const & orig, genType const & dir,
[all …]
Dspline.inl6 template <typename genType>
7 GLM_FUNC_QUALIFIER genType catmullRom
9 genType const & v1,
10 genType const & v2,
11 genType const & v3,
12 genType const & v4,
13 typename genType::value_type const & s
16 typename genType::value_type s1 = s;
17 typename genType::value_type s2 = pow2(s);
18 typename genType::value_type s3 = pow3(s);
[all …]
Dintersect.inl6 template <typename genType>
9 genType const & orig, genType const & dir,
10 genType const & planeOrig, genType const & planeNormal,
11 typename genType::value_type & intersectionDistance
14 typename genType::value_type d = glm::dot(dir, planeNormal);
15 …typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(…
26 template <typename genType>
29 genType const & orig, genType const & dir,
30 genType const & v0, genType const & v1, genType const & v2,
31 genType & baryPosition
[all …]
Dspline.hpp30 template <typename genType>
31 GLM_FUNC_DECL genType catmullRom(
32 genType const & v1,
33 genType const & v2,
34 genType const & v3,
35 genType const & v4,
36 typename genType::value_type const & s);
40 template <typename genType>
41 GLM_FUNC_DECL genType hermite(
42 genType const & v1,
[all …]
Dwrap.hpp30 template <typename genType>
31 GLM_FUNC_DECL genType clamp(genType const& Texcoord);
35 template <typename genType>
36 GLM_FUNC_DECL genType repeat(genType const& Texcoord);
40 template <typename genType>
41 GLM_FUNC_DECL genType mirrorClamp(genType const& Texcoord);
45 template <typename genType>
46 GLM_FUNC_DECL genType mirrorRepeat(genType const& Texcoord);
Dfast_square_root.hpp34 template <typename genType>
35 GLM_FUNC_DECL genType fastSqrt(genType x);
46 template <typename genType>
47 GLM_FUNC_DECL genType fastInverseSqrt(genType x);
58 template <typename genType>
59 GLM_FUNC_DECL genType fastLength(genType x);
70 template <typename genType>
71 GLM_FUNC_DECL genType fastDistance(genType x, genType y);
82 template <typename genType>
83 GLM_FUNC_DECL genType fastNormalize(genType const & x);
Dfast_square_root.inl7 template <typename genType>
8 GLM_FUNC_QUALIFIER genType fastSqrt(genType x)
10 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'fastSqrt' only accept floating-point …
12 return genType(1) / fastInverseSqrt(x);
22 template <typename genType>
23 GLM_FUNC_QUALIFIER genType fastInverseSqrt(genType x)
26 … P> tmp(detail::compute_inversesqrt<tvec1, genType, lowp, detail::is_aligned<lowp>::value>::call(t…
29 …return detail::compute_inversesqrt<tvec1, genType, highp, detail::is_aligned<highp>::value>::call(…
40 template <typename genType>
41 GLM_FUNC_QUALIFIER genType fastLength(genType x)
[all …]
Drange.hpp54 template <typename genType>
55 inline length_t components(genType const & m) in components()
60 template <typename genType>
61 inline typename genType::value_type const * begin(genType const & v) in begin()
66 template <typename genType>
67 inline typename genType::value_type const * end(genType const & v) in end()
72 template <typename genType>
73 inline typename genType::value_type * begin(genType& v) in begin()
78 template <typename genType>
79 inline typename genType::value_type * end(genType& v) in end()
Dcomponent_wise.hpp44 template <typename genType>
45 GLM_FUNC_DECL typename genType::value_type compAdd(genType const & v);
49 template <typename genType>
50 GLM_FUNC_DECL typename genType::value_type compMul(genType const & v);
54 template <typename genType>
55 GLM_FUNC_DECL typename genType::value_type compMin(genType const & v);
59 template <typename genType>
60 GLM_FUNC_DECL typename genType::value_type compMax(genType const & v);
Doptimum_pow.hpp31 template <typename genType>
32 GLM_FUNC_DECL genType pow2(genType const & x);
37 template <typename genType>
38 GLM_FUNC_DECL genType pow3(genType const & x);
43 template <typename genType>
44 GLM_FUNC_DECL genType pow4(genType const & x);
Doptimum_pow.inl6 template <typename genType>
7 GLM_FUNC_QUALIFIER genType pow2(genType const & x)
12 template <typename genType>
13 GLM_FUNC_QUALIFIER genType pow3(genType const & x)
18 template <typename genType>
19 GLM_FUNC_QUALIFIER genType pow4(genType const & x)
Dwrap.inl12 template <typename genType>
13 GLM_FUNC_QUALIFIER genType clamp(genType const & Texcoord)
15 return clamp(tvec1<genType, defaultp>(Texcoord)).x;
24 template <typename genType>
25 GLM_FUNC_QUALIFIER genType repeat(genType const & Texcoord)
27 return repeat(tvec1<genType, defaultp>(Texcoord)).x;
36 template <typename genType>
37 GLM_FUNC_QUALIFIER genType mirrorClamp(genType const & Texcoord)
39 return mirrorClamp(tvec1<genType, defaultp>(Texcoord)).x;
53 template <typename genType>
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_common.hpp29 template <typename genType>
30 GLM_FUNC_DECL genType abs(genType x);
104 template <typename genType>
105 GLM_FUNC_DECL genType fract(genType x);
117 template <typename genType>
118 GLM_FUNC_DECL genType mod(genType x, genType y);
135 template <typename genType>
136 GLM_FUNC_DECL genType modf(genType x, genType & i);
144 template <typename genType>
145 GLM_FUNC_DECL genType min(genType x, genType y);
[all …]
Dfunc_trigonometric.inl11 template <typename genType>
12 GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType radians(genType degrees)
14 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'radians' only accept floating-point i…
16 return degrees * static_cast<genType>(0.01745329251994329576923690768489);
26 template <typename genType>
27 GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType degrees(genType radians)
29 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'degrees' only accept floating-point i…
31 return radians * static_cast<genType>(57.295779513082320876798154814105);
86 template <typename genType>
87 GLM_FUNC_QUALIFIER genType atan(genType y, genType x)
[all …]

123