Home
last modified time | relevance | path

Searched refs:tvec2 (Results 1 – 25 of 70) sorted by relevance

123

/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_vec2.hpp19 struct tvec2 struct
24 typedef tvec2<T, P> type; argument
25 typedef tvec2<bool, P> bool_type; argument
50 _GLM_SWIZZLE2_2_MEMBERS(T, P, glm::tvec2, x, y) argument
51 _GLM_SWIZZLE2_2_MEMBERS(T, P, glm::tvec2, r, g)
52 _GLM_SWIZZLE2_2_MEMBERS(T, P, glm::tvec2, s, t)
74 GLM_SWIZZLE_GEN_VEC_FROM_VEC2(T, P, tvec2, tvec2, tvec3, tvec4)
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);
[all …]
Dtype_vec2.inl8 const tvec2<T, P> tvec2<T, P>::ZERO(static_cast<T>(0), static_cast<T>(0));
11 const tvec2<T, P> tvec2<T, P>::X(static_cast<T>(1), static_cast<T>(0));
14 const tvec2<T, P> tvec2<T, P>::Y(static_cast<T>(0), static_cast<T>(1));
17 const tvec2<T, P> tvec2<T, P>::XY(static_cast<T>(1), static_cast<T>(1));
23 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2() function in glm::tvec2
32 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec2<T, P> const & v) function in glm::tvec2
39 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(tvec2<T, Q> const & v) function in glm::tvec2
46 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(ctor) function in glm::tvec2
50 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(T scalar) function in glm::tvec2
55 GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec2<T, P>::tvec2(T s1, T s2) function in glm::tvec2
[all …]
Dglm.cpp45 template struct tvec2<uint8, lowp>; variable
46 template struct tvec2<uint16, lowp>; variable
47 template struct tvec2<uint32, lowp>; variable
48 template struct tvec2<uint64, lowp>; variable
49 template struct tvec2<int8, lowp>; variable
50 template struct tvec2<int16, lowp>; variable
51 template struct tvec2<int32, lowp>; variable
52 template struct tvec2<int64, lowp>; variable
53 template struct tvec2<float32, lowp>; variable
54 template struct tvec2<float64, lowp>; variable
[all …]
Dtype_vec.hpp105 template <typename T, precision P> struct tvec2;
133 typedef tvec2<float, highp> highp_vec2;
140 typedef tvec2<float, mediump> mediump_vec2;
147 typedef tvec2<float, lowp> lowp_vec2;
154 typedef tvec2<double, highp> highp_dvec2;
161 typedef tvec2<double, mediump> mediump_dvec2;
168 typedef tvec2<double, lowp> lowp_dvec2;
175 typedef tvec2<int, highp> highp_ivec2;
182 typedef tvec2<int, mediump> mediump_ivec2;
189 typedef tvec2<int, lowp> lowp_ivec2;
[all …]
D_vectorize.hpp27 struct functor1<R, T, P, tvec2>
29 GLM_FUNC_QUALIFIER static tvec2<R, P> call(R (*Func) (T x), tvec2<T, P> const & v) in call()
31 return tvec2<R, P>(Func(v.x), Func(v.y)); in call()
66 struct functor2<T, P, tvec2>
68 …GLM_FUNC_QUALIFIER static tvec2<T, P> call(T (*Func) (T x, T y), tvec2<T, P> const & a, tvec2<T, P… in call()
70 return tvec2<T, P>(Func(a.x, b.x), Func(a.y, b.y)); in call()
105 struct functor2_vec_sca<T, P, tvec2>
107 GLM_FUNC_QUALIFIER static tvec2<T, P> call(T (*Func) (T x, T y), tvec2<T, P> const & a, T b) in call()
109 return tvec2<T, P>(Func(a.x, b), Func(a.y, b)); in call()
D_noise.hpp27 GLM_FUNC_QUALIFIER tvec2<T, P> permute(tvec2<T, P> const & x) in permute()
57 GLM_FUNC_QUALIFIER tvec2<T, P> taylorInvSqrt(tvec2<T, P> const & r) in taylorInvSqrt()
82 GLM_FUNC_QUALIFIER tvec2<T, P> fade(tvec2<T, P> const & t) in fade()
Dfunc_matrix.hpp38 struct outerProduct_trait<T, P, tvec2, tvec2>
44 struct outerProduct_trait<T, P, tvec2, tvec3>
50 struct outerProduct_trait<T, P, tvec2, tvec4>
56 struct outerProduct_trait<T, P, tvec3, tvec2>
74 struct outerProduct_trait<T, P, tvec4, tvec2>
Dtype_vec4.hpp52 _GLM_SWIZZLE4_2_MEMBERS(T, P, glm::tvec2, x, y, z, w)
53 _GLM_SWIZZLE4_2_MEMBERS(T, P, glm::tvec2, r, g, b, a)
54 _GLM_SWIZZLE4_2_MEMBERS(T, P, glm::tvec2, s, t, p, q)
77 GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P, tvec4, tvec2, tvec3, tvec4)
115 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec4(tvec2<A, Q> const & a, B b, C c);
118 …GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec4(tvec2<A, Q> const & a, tvec1<B, Q> const & b, tvec1<C, Q> c…
121 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec4(A a, tvec2<B, Q> const & b, C c);
124 …GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec4(tvec1<A, Q> const & a, tvec2<B, Q> const & b, tvec1<C, Q> c…
127 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec4(A a, B b, tvec2<C, Q> const & c);
130 …GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec4(tvec1<A, Q> const & a, tvec1<B, Q> const & b, tvec2<C, Q> c…
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dtype_aligned.hpp29 template <typename T, precision P> struct tvec2;
73 typedef tvec2<float, aligned_highp> aligned_highp_vec2;
77 typedef tvec2<float, aligned_mediump> aligned_mediump_vec2;
81 typedef tvec2<float, aligned_lowp> aligned_lowp_vec2;
85 typedef tvec2<double, aligned_highp> aligned_highp_dvec2;
89 typedef tvec2<double, aligned_mediump> aligned_mediump_dvec2;
93 typedef tvec2<double, aligned_lowp> aligned_lowp_dvec2;
97 typedef tvec2<int, aligned_highp> aligned_highp_ivec2;
101 typedef tvec2<int, aligned_mediump> aligned_mediump_ivec2;
105 typedef tvec2<int, aligned_lowp> aligned_lowp_ivec2;
[all …]
Dtype_precision.hpp255 typedef tvec2<i8, defaultp> i8vec2;
272 typedef tvec2<i16, defaultp> i16vec2;
289 typedef tvec2<i32, defaultp> i32vec2;
306 typedef tvec2<i64, defaultp> i64vec2;
527 typedef tvec2<u8, defaultp> u8vec2;
544 typedef tvec2<u16, defaultp> u16vec2;
561 typedef tvec2<u32, defaultp> u32vec2;
578 typedef tvec2<u64, defaultp> u64vec2;
625 typedef tvec2<float, defaultp> fvec2;
642 typedef tvec2<f32, defaultp> f32vec2;
[all …]
Dfunctions.inl22 tvec2<T, P> const& Coord,
23 tvec2<T, P> const& ExpectedValue,
24 tvec2<T, P> const& StandardDeviation
27tvec2<T, P> const Squared = ((Coord - ExpectedValue) * (Coord - ExpectedValue)) / (static_cast<T>(…
Dfunctions.hpp45 tvec2<T, P> const& Coord,
46 tvec2<T, P> const& ExpectedValue,
47 tvec2<T, P> const& StandardDeviation);
Dnoise.inl25 GLM_FUNC_QUALIFIER T perlin(tvec2<T, P> const & Position)
42 tvec2<T, P> g00(gx.x, gy.x);
43 tvec2<T, P> g10(gx.y, gy.y);
44 tvec2<T, P> g01(gx.z, gy.z);
45 tvec2<T, P> g11(gx.w, gy.w);
53 T n00 = dot(g00, tvec2<T, P>(fx.x, fy.x));
54 T n10 = dot(g10, tvec2<T, P>(fx.y, fy.y));
55 T n01 = dot(g01, tvec2<T, P>(fx.z, fy.z));
56 T n11 = dot(g11, tvec2<T, P>(fx.w, fy.w));
58 tvec2<T, P> fade_xy = detail::fade(tvec2<T, P>(Pf.x, Pf.y));
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dcompatibility.hpp39 …plate <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const tv… in lerp()
43 …name T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const tvec2<T, P>& … in lerp()
48 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> saturate(const tvec2<T, P>& x){r… in saturate()
53 …plate <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> atan2(const tvec2<T, P>& x, const t… in atan2()
59 …template <typename T, precision P> GLM_FUNC_DECL tvec2<bool, P> isfinite(const tvec2<T, P>& x); …
64 …typedef tvec2<bool, highp> bool2; //!< \brief boolean type with 2 components. (From GLM_GTX_co…
80 …typedef tvec2<int, highp> int2; //!< \brief integer vector with 2 components. (From GLM_GTX_co…
96 …typedef tvec2<float, highp> float2; //!< \brief single-precision floating-point vector with 2 c…
112 …typedef tvec2<double, highp> double2; //!< \brief double-precision floating-point vector with 2 …
Dgradient_paint.inl9 tvec2<T, P> const & Center,
11 tvec2<T, P> const & Focal,
12 tvec2<T, P> const & Position
15 tvec2<T, P> F = Focal - Center;
16 tvec2<T, P> D = Position - Focal;
29 tvec2<T, P> const & Point0,
30 tvec2<T, P> const & Point1,
31 tvec2<T, P> const & Position
34 tvec2<T, P> Dist = Point1 - Point0;
Dgradient_paint.hpp32 tvec2<T, P> const & Center,
34 tvec2<T, P> const & Focal,
35 tvec2<T, P> const & Position);
41 tvec2<T, P> const & Point0,
42 tvec2<T, P> const & Point1,
43 tvec2<T, P> const & Position);
Dclosest_point.inl27 GLM_FUNC_QUALIFIER tvec2<T, P> closestPointOnLine
29 tvec2<T, P> const & point,
30 tvec2<T, P> const & a,
31 tvec2<T, P> const & b
35 tvec2<T, P> Vector = point - a;
36 tvec2<T, P> LineDirection = (b - a) / LineLength;
Dmatrix_operation.hpp31 tvec2<T, P> const & v);
37 tvec2<T, P> const & v);
43 tvec2<T, P> const & v);
49 tvec2<T, P> const & v);
67 tvec2<T, P> const & v);
Dclosest_point.hpp37 GLM_FUNC_DECL tvec2<T, P> closestPointOnLine(
38 tvec2<T, P> const & point,
39 tvec2<T, P> const & a,
40 tvec2<T, P> const & b);
Dvector_query.inl13 struct compute_areCollinear<T, P, tvec2>
15 …GLM_FUNC_QUALIFIER static bool call(tvec2<T, P> const & v0, tvec2<T, P> const & v1, T const & epsi…
43 struct compute_isCompNull<T, P, tvec2>
45 GLM_FUNC_QUALIFIER static tvec2<bool, P> call(tvec2<T, P> const & v, T const & epsilon)
47 return tvec2<bool, P>(
145 GLM_FUNC_QUALIFIER tvec2<bool, P> isCompNull
147 tvec2<T, P> const & v,
150 return tvec2<bool, P>(
Dmatrix_operation.inl9 tvec2<T, P> const & v
21 tvec2<T, P> const & v
33 tvec2<T, P> const & v
45 tvec2<T, P> const & v
110 tvec2<T, P> const & v
Dmatrix_major_storage.hpp32 tvec2<T, P> const & v1,
33 tvec2<T, P> const & v2);
74 tvec2<T, P> const & v1,
75 tvec2<T, P> const & v2);
Dextend.inl18 GLM_FUNC_QUALIFIER tvec2<T, P> extend
20 tvec2<T, P> const & Origin,
21 tvec2<T, P> const & Source,
Dstd_based_type.hpp34 typedef tvec2<std::size_t, defaultp> size2;
50 typedef tvec2<std::size_t, defaultp> size2_t;
/external/oboe/samples/RhythmGame/third_party/glm/
Dfwd.hpp307 typedef tvec2<i8, lowp> lowp_i8vec2;
324 typedef tvec2<i8, mediump> mediump_i8vec2;
341 typedef tvec2<i8, highp> highp_i8vec2;
386 typedef tvec2<i16, lowp> lowp_i16vec2;
403 typedef tvec2<i16, mediump> mediump_i16vec2;
420 typedef tvec2<i16, highp> highp_i16vec2;
466 typedef tvec2<i32, lowp> lowp_i32vec2;
483 typedef tvec2<i32, mediump> mediump_i32vec2;
500 typedef tvec2<i32, highp> highp_i32vec2;
545 typedef tvec2<i32, lowp> lowp_i32vec2;
[all …]

123