• Home
  • Raw
  • Download

Lines Matching refs:T

57 	template <typename T, precision P>
65 T x, y, z, w;
75 T const & s,
76 tvec3<T, P> const & v);
78 T const & w,
79 T const & x,
80 T const & y,
81 T const & z);
92 detail::tvec3<T, P> const & u,
93 detail::tvec3<T, P> const & v);
96 tvec3<T, P> const & eulerAngles);
98 tmat3x3<T, P> const & m);
100 tmat4x4<T, P> const & m);
103 GLM_FUNC_DECL T & operator[](length_t i);
104 GLM_FUNC_DECL T const & operator[](length_t i) const;
107 GLM_FUNC_DECL tquat<T, P> & operator+=(tquat<T, P> const & q);
108 GLM_FUNC_DECL tquat<T, P> & operator*=(tquat<T, P> const & q);
109 GLM_FUNC_DECL tquat<T, P> & operator*=(T const & s);
110 GLM_FUNC_DECL tquat<T, P> & operator/=(T const & s);
113 template <typename T, precision P>
114 GLM_FUNC_DECL detail::tquat<T, P> operator- (
115 detail::tquat<T, P> const & q);
117 template <typename T, precision P>
118 GLM_FUNC_DECL detail::tquat<T, P> operator+ (
119 detail::tquat<T, P> const & q,
120 detail::tquat<T, P> const & p);
122 template <typename T, precision P>
123 GLM_FUNC_DECL detail::tquat<T, P> operator* (
124 detail::tquat<T, P> const & q,
125 detail::tquat<T, P> const & p);
127 template <typename T, precision P>
128 GLM_FUNC_DECL detail::tvec3<T, P> operator* (
129 detail::tquat<T, P> const & q,
130 detail::tvec3<T, P> const & v);
132 template <typename T, precision P>
133 GLM_FUNC_DECL detail::tvec3<T, P> operator* (
134 detail::tvec3<T, P> const & v,
135 detail::tquat<T, P> const & q);
137 template <typename T, precision P>
138 GLM_FUNC_DECL detail::tvec4<T, P> operator* (
139 detail::tquat<T, P> const & q,
140 detail::tvec4<T, P> const & v);
142 template <typename T, precision P>
143 GLM_FUNC_DECL detail::tvec4<T, P> operator* (
144 detail::tvec4<T, P> const & v,
145 detail::tquat<T, P> const & q);
147 template <typename T, precision P>
148 GLM_FUNC_DECL detail::tquat<T, P> operator* (
149 detail::tquat<T, P> const & q,
150 T const & s);
152 template <typename T, precision P>
153 GLM_FUNC_DECL detail::tquat<T, P> operator* (
154 T const & s,
155 detail::tquat<T, P> const & q);
157 template <typename T, precision P>
158 GLM_FUNC_DECL detail::tquat<T, P> operator/ (
159 detail::tquat<T, P> const & q,
160 T const & s);
170 template <typename T, precision P>
171 GLM_FUNC_DECL T length(
172 detail::tquat<T, P> const & q);
177 template <typename T, precision P>
178 GLM_FUNC_DECL detail::tquat<T, P> normalize(
179 detail::tquat<T, P> const & q);
184 template <typename T, precision P, template <typename, precision> class quatType>
185 GLM_FUNC_DECL T dot(
186 quatType<T, P> const & x,
187 quatType<T, P> const & y);
199 template <typename T, precision P>
200 GLM_FUNC_DECL detail::tquat<T, P> mix(
201 detail::tquat<T, P> const & x,
202 detail::tquat<T, P> const & y,
203 T const & a);
213 template <typename T, precision P>
214 GLM_FUNC_DECL detail::tquat<T, P> lerp(
215 detail::tquat<T, P> const & x,
216 detail::tquat<T, P> const & y,
217 T const & a);
227 template <typename T, precision P>
228 GLM_FUNC_DECL detail::tquat<T, P> slerp(
229 detail::tquat<T, P> const & x,
230 detail::tquat<T, P> const & y,
231 T const & a);
236 template <typename T, precision P>
237 GLM_FUNC_DECL detail::tquat<T, P> conjugate(
238 detail::tquat<T, P> const & q);
243 template <typename T, precision P>
244 GLM_FUNC_DECL detail::tquat<T, P> inverse(
245 detail::tquat<T, P> const & q);
254 template <typename T, precision P>
255 GLM_FUNC_DECL detail::tquat<T, P> rotate(
256 detail::tquat<T, P> const & q,
257 T const & angle,
258 detail::tvec3<T, P> const & axis);
264 template <typename T, precision P>
265 GLM_FUNC_DECL detail::tvec3<T, P> eulerAngles(
266 detail::tquat<T, P> const & x);
271 template <typename T, precision P>
272 GLM_FUNC_DECL T roll(detail::tquat<T, P> const & x);
277 template <typename T, precision P>
278 GLM_FUNC_DECL T pitch(detail::tquat<T, P> const & x);
283 template <typename T, precision P>
284 GLM_FUNC_DECL T yaw(detail::tquat<T, P> const & x);
289 template <typename T, precision P>
290 GLM_FUNC_DECL detail::tmat3x3<T, P> mat3_cast(
291 detail::tquat<T, P> const & x);
296 template <typename T, precision P>
297 GLM_FUNC_DECL detail::tmat4x4<T, P> mat4_cast(
298 detail::tquat<T, P> const & x);
303 template <typename T, precision P>
304 GLM_FUNC_DECL detail::tquat<T, P> quat_cast(
305 detail::tmat3x3<T, P> const & x);
310 template <typename T, precision P>
311 GLM_FUNC_DECL detail::tquat<T, P> quat_cast(
312 detail::tmat4x4<T, P> const & x);
317 template <typename T, precision P>
318 GLM_FUNC_DECL T angle(detail::tquat<T, P> const & x);
323 template <typename T, precision P>
324 GLM_FUNC_DECL detail::tvec3<T, P> axis(
325 detail::tquat<T, P> const & x);
333 template <typename T, precision P>
334 GLM_FUNC_DECL detail::tquat<T, P> angleAxis(
335 T const & angle,
336 detail::tvec3<T, P> const & axis);
343 template <typename T, precision P>
345 detail::tquat<T, P> const & x,
346 detail::tquat<T, P> const & y);
353 template <typename T, precision P>
355 detail::tquat<T, P> const & x,
356 detail::tquat<T, P> const & y);
363 template <typename T, precision P>
365 detail::tquat<T, P> const & x,
366 detail::tquat<T, P> const & y);
373 template <typename T, precision P>
375 detail::tquat<T, P> const & x,
376 detail::tquat<T, P> const & y);
383 template <typename T, precision P>
385 detail::tquat<T, P> const & x,
386 detail::tquat<T, P> const & y);
393 template <typename T, precision P>
395 detail::tquat<T, P> const & x,
396 detail::tquat<T, P> const & y);