Home
last modified time | relevance | path

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

123

/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_common.hpp55 template <typename genType>
56 GLM_FUNC_DECL genType abs(genType const & x);
64 template <typename genType>
65 GLM_FUNC_DECL genType sign(genType const & x);
73 template <typename genType>
74 GLM_FUNC_DECL genType floor(genType const & x);
83 template <typename genType>
84 GLM_FUNC_DECL genType trunc(genType const & x);
96 template <typename genType>
97 GLM_FUNC_DECL genType round(genType const & x);
[all …]
Dfunc_trigonometric.hpp54 template <typename genType>
55 GLM_FUNC_DECL genType radians(genType const & degrees);
63 template <typename genType>
64 GLM_FUNC_DECL genType degrees(genType const & radians);
73 template <typename genType>
74 GLM_FUNC_DECL genType sin(genType const & angle);
83 template <typename genType>
84 GLM_FUNC_DECL genType cos(genType const & angle);
92 template <typename genType>
93 GLM_FUNC_DECL genType tan(genType const & angle);
[all …]
Dfunc_trigonometric.inl36 template <typename genType>
37 GLM_FUNC_QUALIFIER genType radians
39 genType const & degrees
42 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'radians' only accept floating-point i…
44 return degrees * genType(0.01745329251994329576923690768489);
50 template <typename genType>
51 GLM_FUNC_QUALIFIER genType degrees
53 genType const & radians
56 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'degrees' only accept floating-point i…
58 return radians * genType(57.295779513082320876798154814105);
[all …]
Dfunc_geometric.hpp52 template <typename genType>
53 GLM_FUNC_DECL typename genType::value_type length(
54 genType const & x);
62 template <typename genType>
63 GLM_FUNC_DECL typename genType::value_type distance(
64 genType const & p0,
65 genType const & p1);
84 template <typename genType>
85 GLM_FUNC_DECL genType dot(
86 genType const & x,
[all …]
Dfunc_exponential.hpp58 template <typename genType>
59 GLM_FUNC_DECL genType pow(genType const & base, genType const & exponent);
68 template <typename genType>
69 GLM_FUNC_DECL genType exp(genType const & x);
80 template <typename genType>
81 GLM_FUNC_DECL genType log(genType const & x);
90 template <typename genType>
91 GLM_FUNC_DECL genType exp2(genType const & x);
101 template <typename genType>
102 GLM_FUNC_DECL genType log2(genType x);
[all …]
Dfunc_noise.hpp57 template <typename genType>
58 GLM_FUNC_DECL typename genType::value_type noise1(genType const & x);
66 template <typename genType>
67 GLM_FUNC_DECL detail::tvec2<typename genType::value_type, defaultp> noise2(genType const & x);
75 template <typename genType>
76 GLM_FUNC_DECL detail::tvec3<typename genType::value_type, defaultp> noise3(genType const & x);
84 template <typename genType>
85 GLM_FUNC_DECL detail::tvec4<typename genType::value_type, defaultp> noise4(genType const & x);
Dfunc_common.inl169 template <typename genType>
170 GLM_FUNC_QUALIFIER genType floor(genType const & x)
173 std::numeric_limits<genType>::is_iec559,
182 template <typename genType>
183 GLM_FUNC_QUALIFIER genType trunc(genType const & x)
186 std::numeric_limits<genType>::is_iec559,
196 template <typename genType>
197 GLM_FUNC_QUALIFIER genType round(genType const& x)
200 std::numeric_limits<genType>::is_iec559,
204 return x < 0 ? genType(int(x - genType(0.5))) : genType(int(x + genType(0.5)));
[all …]
/external/vulkan-validation-layers/libs/glm/gtc/
Dconstants.hpp57 template <typename genType>
58 GLM_FUNC_DECL genType epsilon();
62 template <typename genType>
63 GLM_FUNC_DECL genType zero();
67 template <typename genType>
68 GLM_FUNC_DECL genType one();
72 template <typename genType>
73 GLM_FUNC_DECL genType pi();
77 template <typename genType>
78 GLM_FUNC_DECL genType root_pi();
[all …]
Dconstants.inl33 template <typename genType>
34 GLM_FUNC_QUALIFIER genType epsilon()
36 return std::numeric_limits<genType>::epsilon();
39 template <typename genType>
40 GLM_FUNC_QUALIFIER genType zero()
42 return genType(0);
45 template <typename genType>
46 GLM_FUNC_QUALIFIER genType one()
48 return genType(1);
51 template <typename genType>
[all …]
Dreciprocal.hpp57 template <typename genType>
58 GLM_FUNC_DECL genType sec(genType const & angle);
64 template <typename genType>
65 GLM_FUNC_DECL genType csc(genType const & angle);
71 template <typename genType>
72 GLM_FUNC_DECL genType cot(genType const & angle);
77 template <typename genType>
78 GLM_FUNC_DECL genType asec(genType const & x);
83 template <typename genType>
84 GLM_FUNC_DECL genType acsc(genType const & x);
[all …]
Dreciprocal.inl35 template <typename genType>
36 GLM_FUNC_QUALIFIER genType sec
38 genType const & angle
41 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'sec' only accept floating-point value…
43 return genType(1) / glm::cos(angle);
49 template <typename genType>
50 GLM_FUNC_QUALIFIER genType csc
52 genType const & angle
55 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'csc' only accept floating-point value…
57 return genType(1) / glm::sin(angle);
[all …]
Dmatrix_access.hpp54 template <typename genType>
55 GLM_FUNC_DECL typename genType::row_type row(
56 genType const & m,
61 template <typename genType>
62 GLM_FUNC_DECL genType row(
63 genType const & m,
65 typename genType::row_type const & x);
69 template <typename genType>
70 GLM_FUNC_DECL typename genType::col_type column(
71 genType const & m,
[all …]
Depsilon.hpp70 template <typename genType>
72 genType const & x,
73 genType const & y,
74 genType const & epsilon);
80 template <typename genType>
81 GLM_FUNC_DECL typename genType::boolType epsilonNotEqual(
82 genType const & x,
83 genType const & y,
84 typename genType::value_type const & epsilon);
90 template <typename genType>
[all …]
Dulp.hpp58 template <typename genType>
59 GLM_FUNC_DECL genType next_float(genType const & x);
63 template <typename genType>
64 GLM_FUNC_DECL genType prev_float(genType const & x);
68 template <typename genType>
69 GLM_FUNC_DECL genType next_float(genType const & x, uint const & Distance);
73 template <typename genType>
74 GLM_FUNC_DECL genType prev_float(genType const & x, uint const & Distance);
Dmatrix_access.inl31 template <typename genType>
32 GLM_FUNC_QUALIFIER genType row
34 genType const & m,
36 typename genType::row_type const & x
41 genType Result = m;
47 template <typename genType>
48 GLM_FUNC_QUALIFIER typename genType::row_type row
50 genType const & m,
56 typename genType::row_type Result;
62 template <typename genType>
[all …]
/external/vulkan-validation-layers/libs/glm/gtx/
Dintersect.hpp58 template <typename genType>
60 genType const & orig, genType const & dir,
61 genType const & planeOrig, genType const & planeNormal,
62 typename genType::value_type & intersectionDistance);
66 template <typename genType>
68 genType const & orig, genType const & dir,
69 genType const & vert0, genType const & vert1, genType const & vert2,
70 genType & baryPosition);
74 template <typename genType>
76 genType const & orig, genType const & dir,
[all …]
Dintersect.inl16 template <typename genType>
19 genType const & orig, genType const & dir,
20 genType const & planeOrig, genType const & planeNormal,
21 typename genType::value_type & intersectionDistance
24 typename genType::value_type d = glm::dot(dir, planeNormal);
25 …typename genType::value_type Epsilon = std::numeric_limits<typename genType::value_type>::epsilon(…
36 template <typename genType>
39 genType const & orig, genType const & dir,
40 genType const & v0, genType const & v1, genType const & v2,
41 genType & baryPosition
[all …]
Dspline.inl12 template <typename genType>
13 GLM_FUNC_QUALIFIER genType catmullRom
15 genType const & v1,
16 genType const & v2,
17 genType const & v3,
18 genType const & v4,
19 typename genType::value_type const & s
22 typename genType::value_type s1 = s;
23 typename genType::value_type s2 = pow2(s);
24 typename genType::value_type s3 = pow3(s);
[all …]
Dspline.hpp56 template <typename genType>
57 GLM_FUNC_DECL genType catmullRom(
58 genType const & v1,
59 genType const & v2,
60 genType const & v3,
61 genType const & v4,
62 typename genType::value_type const & s);
66 template <typename genType>
67 GLM_FUNC_DECL genType hermite(
68 genType const & v1,
[all …]
Dfast_square_root.hpp57 template <typename genType>
58 GLM_FUNC_DECL genType fastSqrt(genType const & x);
62 template <typename genType>
63 GLM_FUNC_DECL genType fastInverseSqrt(genType const & x);
72 template <typename genType>
73 GLM_FUNC_DECL typename genType::value_type fastLength(genType const & x);
77 template <typename genType>
78 GLM_FUNC_DECL typename genType::value_type fastDistance(genType const & x, genType const & y);
82 template <typename genType>
83 GLM_FUNC_DECL genType fastNormalize(genType const & x);
Dbit.hpp63 template <typename genType>
64 GLM_FUNC_DECL genType highestBitValue(genType const & value);
68 template <typename genType>
69 GLM_FUNC_DECL bool isPowerOfTwo(genType const & value);
73 template <typename genType>
74 GLM_FUNC_DECL genType powerOfTwoAbove(genType const & value);
78 template <typename genType>
79 GLM_FUNC_DECL genType powerOfTwoBelow(genType const & value);
83 template <typename genType>
84 GLM_FUNC_DECL genType powerOfTwoNearest(genType const & value);
[all …]
Dmultiple.inl19 template <typename genType>
20 GLM_FUNC_QUALIFIER genType operator()
22 genType const & Source,
23 genType const & Multiple
26 if (Source > genType(0))
28 genType Tmp = Source - genType(1);
39 template <typename genType>
40 GLM_FUNC_QUALIFIER genType operator()
42 genType const & Source,
43 genType const & Multiple
[all …]
Dcomponent_wise.hpp55 template <typename genType>
56 GLM_FUNC_DECL typename genType::value_type compAdd(
57 genType const & v);
61 template <typename genType>
62 GLM_FUNC_DECL typename genType::value_type compMul(
63 genType const & v);
67 template <typename genType>
68 GLM_FUNC_DECL typename genType::value_type compMin(
69 genType const & v);
73 template <typename genType>
[all …]
Dwrap.hpp55 template <typename genType>
56 GLM_FUNC_DECL genType clamp(genType const & Texcoord);
60 template <typename genType>
61 GLM_FUNC_DECL genType repeat(genType const & Texcoord);
65 template <typename genType>
66 GLM_FUNC_DECL genType mirrorRepeat(genType const & Texcoord);
Dmultiple.hpp61 template <typename genType>
62 GLM_FUNC_DECL genType higherMultiple(
63 genType const & Source,
64 genType const & Multiple);
73 template <typename genType>
74 GLM_FUNC_DECL genType lowerMultiple(
75 genType const & Source,
76 genType const & Multiple);

123