Home
last modified time | relevance | path

Searched refs:GLM_FUNC_DECL (Results 1 – 25 of 92) sorted by relevance

1234

/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dpacking.hpp39 GLM_FUNC_DECL uint8 packUnorm1x8(float v);
51 GLM_FUNC_DECL float unpackUnorm1x8(uint8 p);
67 GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const & v);
83 GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p);
96 GLM_FUNC_DECL uint8 packSnorm1x8(float s);
109 GLM_FUNC_DECL float unpackSnorm1x8(uint8 p);
125 GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const & v);
141 GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p);
154 GLM_FUNC_DECL uint16 packUnorm1x16(float v);
167 GLM_FUNC_DECL float unpackUnorm1x16(uint16 p);
[all …]
Dconstants.hpp31 GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon();
36 GLM_FUNC_DECL GLM_CONSTEXPR genType zero();
41 GLM_FUNC_DECL GLM_CONSTEXPR genType one();
46 GLM_FUNC_DECL GLM_CONSTEXPR genType pi();
51 GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi();
56 GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi();
61 GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi();
66 GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi();
71 GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi();
76 GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi();
[all …]
Dquaternion.hpp74 GLM_FUNC_DECL static length_type length(){return 4;} in length()
76 GLM_FUNC_DECL T & operator[](length_type i);
77 GLM_FUNC_DECL T const & operator[](length_type i) const;
81 GLM_FUNC_DECL GLM_CONSTEXPR tquat() GLM_DEFAULT_CTOR;
82 GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, P> const & q) GLM_DEFAULT;
84 GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, Q> const & q);
88 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tquat(ctor);
89 GLM_FUNC_DECL GLM_CONSTEXPR tquat(T const & s, tvec3<T, P> const & v);
90 GLM_FUNC_DECL GLM_CONSTEXPR tquat(T const & w, T const & x, T const & y, T const & z);
95 GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT tquat(tquat<U, Q> const & q);
[all …]
Dbitfield.hpp36 GLM_FUNC_DECL genIUType mask(genIUType Bits);
42 GLM_FUNC_DECL vecIUType<T, P> mask(vecIUType<T, P> const & v);
48 GLM_FUNC_DECL genIUType bitfieldRotateRight(genIUType In, int Shift);
54 GLM_FUNC_DECL vecType<T, P> bitfieldRotateRight(vecType<T, P> const & In, int Shift);
60 GLM_FUNC_DECL genIUType bitfieldRotateLeft(genIUType In, int Shift);
66 GLM_FUNC_DECL vecType<T, P> bitfieldRotateLeft(vecType<T, P> const & In, int Shift);
72 GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount);
78GLM_FUNC_DECL vecType<T, P> bitfieldFillOne(vecType<T, P> const & Value, int FirstBit, int BitCoun…
84 GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount);
90GLM_FUNC_DECL vecType<T, P> bitfieldFillZero(vecType<T, P> const & Value, int FirstBit, int BitCou…
[all …]
Dtype_ptr.hpp64 GLM_FUNC_DECL typename genType::value_type const * value_ptr(genType const & vec);
69 GLM_FUNC_DECL tvec2<T, defaultp> make_vec2(T const * const ptr);
74 GLM_FUNC_DECL tvec3<T, defaultp> make_vec3(T const * const ptr);
79 GLM_FUNC_DECL tvec4<T, defaultp> make_vec4(T const * const ptr);
84 GLM_FUNC_DECL tmat2x2<T, defaultp> make_mat2x2(T const * const ptr);
89 GLM_FUNC_DECL tmat2x3<T, defaultp> make_mat2x3(T const * const ptr);
94 GLM_FUNC_DECL tmat2x4<T, defaultp> make_mat2x4(T const * const ptr);
99 GLM_FUNC_DECL tmat3x2<T, defaultp> make_mat3x2(T const * const ptr);
104 GLM_FUNC_DECL tmat3x3<T, defaultp> make_mat3x3(T const * const ptr);
109 GLM_FUNC_DECL tmat3x4<T, defaultp> make_mat3x4(T const * const ptr);
[all …]
Dmatrix_transform.hpp58 GLM_FUNC_DECL tmat4x4<T, P> translate(
72 GLM_FUNC_DECL tmat4x4<T, P> rotate(
86 GLM_FUNC_DECL tmat4x4<T, P> scale(
102 GLM_FUNC_DECL tmat4x4<T, defaultp> ortho(
122 GLM_FUNC_DECL tmat4x4<T, defaultp> orthoLH(
142 GLM_FUNC_DECL tmat4x4<T, defaultp> orthoRH(
160 GLM_FUNC_DECL tmat4x4<T, defaultp> ortho(
177 GLM_FUNC_DECL tmat4x4<T, defaultp> frustum(
196 GLM_FUNC_DECL tmat4x4<T, defaultp> frustumLH(
215 GLM_FUNC_DECL tmat4x4<T, defaultp> frustumRH(
[all …]
Dround.hpp37 GLM_FUNC_DECL bool isPowerOfTwo(genIUType Value);
43 GLM_FUNC_DECL vecType<bool, P> isPowerOfTwo(vecType<T, P> const & value);
50 GLM_FUNC_DECL genIUType ceilPowerOfTwo(genIUType Value);
57 GLM_FUNC_DECL vecType<T, P> ceilPowerOfTwo(vecType<T, P> const & value);
64 GLM_FUNC_DECL genIUType floorPowerOfTwo(genIUType Value);
71 GLM_FUNC_DECL vecType<T, P> floorPowerOfTwo(vecType<T, P> const & value);
77 GLM_FUNC_DECL genIUType roundPowerOfTwo(genIUType Value);
83 GLM_FUNC_DECL vecType<T, P> roundPowerOfTwo(vecType<T, P> const & value);
89 GLM_FUNC_DECL bool isMultiple(genIUType Value, genIUType Multiple);
95 GLM_FUNC_DECL vecType<bool, P> isMultiple(vecType<T, P> const & Value, T Multiple);
[all …]
Dreciprocal.hpp34 GLM_FUNC_DECL genType sec(genType angle);
43 GLM_FUNC_DECL genType csc(genType angle);
52 GLM_FUNC_DECL genType cot(genType angle);
61 GLM_FUNC_DECL genType asec(genType x);
70 GLM_FUNC_DECL genType acsc(genType x);
79 GLM_FUNC_DECL genType acot(genType x);
87 GLM_FUNC_DECL genType sech(genType angle);
95 GLM_FUNC_DECL genType csch(genType angle);
103 GLM_FUNC_DECL genType coth(genType angle);
112 GLM_FUNC_DECL genType asech(genType x);
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_mat2x2.hpp29 GLM_FUNC_DECL tmat2x2() GLM_DEFAULT_CTOR;
30 GLM_FUNC_DECL tmat2x2(tmat2x2<T, P> const & m) GLM_DEFAULT;
32 GLM_FUNC_DECL tmat2x2(tmat2x2<T, Q> const & m);
34 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat2x2(ctor);
35 GLM_FUNC_DECL explicit tmat2x2(T scalar);
36 GLM_FUNC_DECL tmat2x2(
39 GLM_FUNC_DECL tmat2x2(
46 GLM_FUNC_DECL tmat2x2(
51 GLM_FUNC_DECL tmat2x2(
58 GLM_FUNC_DECL GLM_EXPLICIT tmat2x2(tmat2x2<U, Q> const & m);
[all …]
Dtype_vec1.hpp81 GLM_FUNC_DECL static length_type length(){return 1;} in length()
83 GLM_FUNC_DECL T & operator[](length_type i);
84 GLM_FUNC_DECL T const & operator[](length_type i) const;
88 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec1() GLM_DEFAULT_CTOR;
89 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec1(tvec1<T, P> const & v) GLM_DEFAULT;
91 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec1(tvec1<T, Q> const & v);
95 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tvec1(ctor);
96 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tvec1(T scalar);
102 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT tvec1(tvec2<U, Q> const & v);
105 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT tvec1(tvec3<U, Q> const & v);
[all …]
Dtype_mat2x3.hpp30 GLM_FUNC_DECL tmat2x3() GLM_DEFAULT_CTOR;
31 GLM_FUNC_DECL tmat2x3(tmat2x3<T, P> const & m) GLM_DEFAULT;
33 GLM_FUNC_DECL tmat2x3(tmat2x3<T, Q> const & m);
35 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat2x3(ctor);
36 GLM_FUNC_DECL explicit tmat2x3(T scalar);
37 GLM_FUNC_DECL tmat2x3(
40 GLM_FUNC_DECL tmat2x3(
47 GLM_FUNC_DECL tmat2x3(
52 GLM_FUNC_DECL tmat2x3(
59 GLM_FUNC_DECL GLM_EXPLICIT tmat2x3(tmat2x3<U, Q> const & m);
[all …]
Dtype_vec2.hpp82 GLM_FUNC_DECL static length_type length(){return 2;} in length()
84 GLM_FUNC_DECL T & operator[](length_type i);
85 GLM_FUNC_DECL T const & operator[](length_type i) const;
89 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec2() GLM_DEFAULT_CTOR;
90 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec2(tvec2<T, P> const& v) GLM_DEFAULT;
92 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec2(tvec2<T, Q> const& v);
96 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tvec2(ctor);
97 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tvec2(T scalar);
98 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec2(T s1, T s2);
104 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec2(A x, B y);
[all …]
Dtype_mat4x4.hpp29 GLM_FUNC_DECL tmat4x4() GLM_DEFAULT_CTOR;
30 GLM_FUNC_DECL tmat4x4(tmat4x4<T, P> const & m) GLM_DEFAULT;
32 GLM_FUNC_DECL tmat4x4(tmat4x4<T, Q> const & m);
34 GLM_FUNC_DECL explicit tmat4x4(ctor);
35 GLM_FUNC_DECL explicit tmat4x4(T const & x);
36 GLM_FUNC_DECL tmat4x4(
41 GLM_FUNC_DECL tmat4x4(
54 GLM_FUNC_DECL tmat4x4(
61 GLM_FUNC_DECL tmat4x4(
70 GLM_FUNC_DECL GLM_EXPLICIT tmat4x4(tmat4x4<U, Q> const & m);
[all …]
Dtype_mat3x3.hpp29 GLM_FUNC_DECL tmat3x3() GLM_DEFAULT_CTOR;
30 GLM_FUNC_DECL tmat3x3(tmat3x3<T, P> const & m) GLM_DEFAULT;
32 GLM_FUNC_DECL tmat3x3(tmat3x3<T, Q> const & m);
34 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat3x3(ctor);
35 GLM_FUNC_DECL explicit tmat3x3(T scalar);
36 GLM_FUNC_DECL tmat3x3(
40 GLM_FUNC_DECL tmat3x3(
51 GLM_FUNC_DECL tmat3x3(
57 GLM_FUNC_DECL tmat3x3(
65 GLM_FUNC_DECL GLM_EXPLICIT tmat3x3(tmat3x3<U, Q> const & m);
[all …]
Dtype_mat3x4.hpp30 GLM_FUNC_DECL tmat3x4() GLM_DEFAULT_CTOR;
31 GLM_FUNC_DECL tmat3x4(tmat3x4<T, P> const & m) GLM_DEFAULT;
33 GLM_FUNC_DECL tmat3x4(tmat3x4<T, Q> const & m);
35 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat3x4(ctor);
36 GLM_FUNC_DECL explicit tmat3x4(T scalar);
37 GLM_FUNC_DECL tmat3x4(
41 GLM_FUNC_DECL tmat3x4(
52 GLM_FUNC_DECL tmat3x4(
58 GLM_FUNC_DECL tmat3x4(
66 GLM_FUNC_DECL GLM_EXPLICIT tmat3x4(tmat3x4<U, Q> const & m);
[all …]
Dtype_mat3x2.hpp30 GLM_FUNC_DECL tmat3x2() GLM_DEFAULT_CTOR;
31 GLM_FUNC_DECL tmat3x2(tmat3x2<T, P> const & m) GLM_DEFAULT;
33 GLM_FUNC_DECL tmat3x2(tmat3x2<T, Q> const & m);
35 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat3x2(ctor);
36 GLM_FUNC_DECL explicit tmat3x2(T scalar);
37 GLM_FUNC_DECL tmat3x2(
41 GLM_FUNC_DECL tmat3x2(
52 GLM_FUNC_DECL tmat3x2(
58 GLM_FUNC_DECL tmat3x2(
66 GLM_FUNC_DECL GLM_EXPLICIT tmat3x2(tmat3x2<U, Q> const & m);
[all …]
Dtype_mat4x2.hpp30 GLM_FUNC_DECL tmat4x2() GLM_DEFAULT_CTOR;
31 GLM_FUNC_DECL tmat4x2(tmat4x2<T, P> const & m) GLM_DEFAULT;
33 GLM_FUNC_DECL tmat4x2(tmat4x2<T, Q> const & m);
35 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat4x2(ctor);
36 GLM_FUNC_DECL explicit tmat4x2(T scalar);
37 GLM_FUNC_DECL tmat4x2(
42 GLM_FUNC_DECL tmat4x2(
55 GLM_FUNC_DECL tmat4x2(
62 GLM_FUNC_DECL tmat4x2(
71 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat4x2<U, Q> const & m);
[all …]
Dtype_mat2x4.hpp30 GLM_FUNC_DECL tmat2x4() GLM_DEFAULT_CTOR;
31 GLM_FUNC_DECL tmat2x4(tmat2x4<T, P> const & m) GLM_DEFAULT;
33 GLM_FUNC_DECL tmat2x4(tmat2x4<T, Q> const & m);
35 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat2x4(ctor);
36 GLM_FUNC_DECL explicit tmat2x4(T scalar);
37 GLM_FUNC_DECL tmat2x4(
40 GLM_FUNC_DECL tmat2x4(
49 GLM_FUNC_DECL tmat2x4(
54 GLM_FUNC_DECL tmat2x4(
61 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat2x4<U, Q> const & m);
[all …]
Dtype_vec3.hpp82 GLM_FUNC_DECL static length_type length(){return 3;} in length()
84 GLM_FUNC_DECL T & operator[](length_type i);
85 GLM_FUNC_DECL T const & operator[](length_type i) const;
89 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec3() GLM_DEFAULT_CTOR;
90 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec3(tvec3<T, P> const & v) GLM_DEFAULT;
92 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec3(tvec3<T, Q> const & v);
96 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tvec3(ctor);
97 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tvec3(T scalar);
98 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec3(T a, T b, T c);
104 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec3(A a, B b, C c);
[all …]
Dtype_mat4x3.hpp30 GLM_FUNC_DECL tmat4x3() GLM_DEFAULT_CTOR;
31 GLM_FUNC_DECL tmat4x3(tmat4x3<T, P> const & m) GLM_DEFAULT;
33 GLM_FUNC_DECL tmat4x3(tmat4x3<T, Q> const & m);
35 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat4x3(ctor);
36 GLM_FUNC_DECL explicit tmat4x3(T const & x);
37 GLM_FUNC_DECL tmat4x3(
42 GLM_FUNC_DECL tmat4x3(
55 GLM_FUNC_DECL tmat4x3(
62 GLM_FUNC_DECL tmat4x3(
71 GLM_FUNC_DECL GLM_EXPLICIT tmat4x3(tmat4x3<U, Q> const & m);
[all …]
Dtype_vec4.hpp85 GLM_FUNC_DECL static length_type length(){return 4;} in length()
87 GLM_FUNC_DECL T & operator[](length_type i);
88 GLM_FUNC_DECL T const & operator[](length_type i) const;
92 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4() GLM_DEFAULT_CTOR;
93 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4(tvec4<T, P> const& v) GLM_DEFAULT;
95 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4(tvec4<T, Q> const& v);
99 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD explicit tvec4(ctor);
100 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD explicit tvec4(T scalar);
101 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4(T a, T b, T c, T d);
107 GLM_FUNC_DECL GLM_CONSTEXPR_SIMD tvec4(A a, B b, C c, D d);
[all …]
Dfunc_common.hpp30 GLM_FUNC_DECL genType abs(genType x);
33 GLM_FUNC_DECL vecType<T, P> abs(vecType<T, P> const & x);
42 GLM_FUNC_DECL vecType<T, P> sign(vecType<T, P> const & x);
51 GLM_FUNC_DECL vecType<T, P> floor(vecType<T, P> const & x);
61 GLM_FUNC_DECL vecType<T, P> trunc(vecType<T, P> const & x);
74 GLM_FUNC_DECL vecType<T, P> round(vecType<T, P> const & x);
86 GLM_FUNC_DECL vecType<T, P> roundEven(vecType<T, P> const & x);
96 GLM_FUNC_DECL vecType<T, P> ceil(vecType<T, P> const & x);
105 GLM_FUNC_DECL genType fract(genType x);
108 GLM_FUNC_DECL vecType<T, P> fract(vecType<T, P> const & x);
[all …]
Dfunc_packing.hpp33 GLM_FUNC_DECL uint packUnorm2x16(vec2 const & v);
46 GLM_FUNC_DECL uint packSnorm2x16(vec2 const & v);
59 GLM_FUNC_DECL uint packUnorm4x8(vec4 const & v);
72 GLM_FUNC_DECL uint packSnorm4x8(vec4 const & v);
85 GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p);
98 GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p);
111 GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p);
124 GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p);
134 GLM_FUNC_DECL double packDouble2x32(uvec2 const & v);
143 GLM_FUNC_DECL uvec2 unpackDouble2x32(double v);
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Ddual_quaternion.hpp49 GLM_FUNC_DECL static length_type length(){return 2;} in length()
51 GLM_FUNC_DECL part_type & operator[](length_type i);
52 GLM_FUNC_DECL part_type const & operator[](length_type i) const;
56 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat() GLM_DEFAULT_CTOR;
57 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tdualquat<T, P> const & d) GLM_DEFAULT;
59 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tdualquat<T, Q> const & d);
63 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tdualquat(ctor);
64 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, P> const & real);
65GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, P> const & orientation, tvec3<T, P> const & transla…
66 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, P> const & real, tquat<T, P> const & dual);
[all …]
Deuler_angles.hpp31 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleX(
37 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleY(
43 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleZ(
49 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleXY(
56 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleYX(
63 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleXZ(
70 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleZX(
77 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleYZ(
84 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleZY(
91 GLM_FUNC_DECL tmat4x4<T, defaultp> eulerAngleXYZ(
[all …]

1234