Home | History | Annotate | Download | only in ndk_helper

Lines Matching refs:f_

41     out.x_ = x_ * rhs.f_[0] + y_ * rhs.f_[1] + z_ * rhs.f_[2] + w_ * rhs.f_[3];
42 out.y_ = x_ * rhs.f_[4] + y_ * rhs.f_[5] + z_ * rhs.f_[6] + w_ * rhs.f_[7];
43 out.z_ = x_ * rhs.f_[8] + y_ * rhs.f_[9] + z_ * rhs.f_[10] + w_ * rhs.f_[11];
44 out.w_ = x_ * rhs.f_[12] + y_ * rhs.f_[13] + z_ * rhs.f_[14] + w_ * rhs.f_[15];
54 f_[i] = 0.f;
60 f_[i] = mIn[i];
66 ret.f_[0] = f_[0] * rhs.f_[0] + f_[4] * rhs.f_[1] + f_[8] * rhs.f_[2]
67 + f_[12] * rhs.f_[3];
68 ret.f_[1] = f_[1] * rhs.f_[0] + f_[5] * rhs.f_[1] + f_[9] * rhs.f_[2]
69 + f_[13] * rhs.f_[3];
70 ret.f_[2] = f_[2] * rhs.f_[0] + f_[6] * rhs.f_[1] + f_[10] * rhs.f_[2]
71 + f_[14] * rhs.f_[3];
72 ret.f_[3] = f_[3] * rhs.f_[0] + f_[7] * rhs.f_[1] + f_[11] * rhs.f_[2]
73 + f_[15] * rhs.f_[3];
75 ret.f_[4] = f_[0] * rhs.f_[4] + f_[4] * rhs.f_[5] + f_[8] * rhs.f_[6]
76 + f_[12] * rhs.f_[7];
77 ret.f_[5] = f_[1] * rhs.f_[4] + f_[5] * rhs.f_[5] + f_[9] * rhs.f_[6]
78 + f_[13] * rhs.f_[7];
79 ret.f_[6] = f_[2] * rhs.f_[4] + f_[6] * rhs.f_[5] + f_[10] * rhs.f_[6]
80 + f_[14] * rhs.f_[7];
81 ret.f_[7] = f_[3] * rhs.f_[4] + f_[7] * rhs.f_[5] + f_[11] * rhs.f_[6]
82 + f_[15] * rhs.f_[7];
84 ret.f_[8] = f_[0] * rhs.f_[8] + f_[4] * rhs.f_[9] + f_[8] * rhs.f_[10]
85 + f_[12] * rhs.f_[11];
86 ret.f_[9] = f_[1] * rhs.f_[8] + f_[5] * rhs.f_[9] + f_[9] * rhs.f_[10]
87 + f_[13] * rhs.f_[11];
88 ret.f_[10] = f_[2] * rhs.f_[8] + f_[6] * rhs.f_[9] + f_[10] * rhs.f_[10]
89 + f_[14] * rhs.f_[11];
90 ret.f_[11] = f_[3] * rhs.f_[8] + f_[7] * rhs.f_[9] + f_[11] * rhs.f_[10]
91 + f_[15] * rhs.f_[11];
93 ret.f_[12] = f_[0] * rhs.f_[12] + f_[4] * rhs.f_[13] + f_[8] * rhs.f_[14]
94 + f_[12] * rhs.f_[15];
95 ret.f_[13] = f_[1] * rhs.f_[12] + f_[5] * rhs.f_[13] + f_[9] * rhs.f_[14]
96 + f_[13] * rhs.f_[15];
97 ret.f_[14] = f_[2] * rhs.f_[12] + f_[6] * rhs.f_[13] + f_[10] * rhs.f_[14]
98 + f_[14] * rhs.f_[15];
99 ret.f_[15] = f_[3] * rhs.f_[12] + f_[7] * rhs.f_[13] + f_[11] * rhs.f_[14]
100 + f_[15] * rhs.f_[15];
108 ret.x_ = rhs.x_ * f_[0] + rhs.y_ * f_[4] + rhs.z_ * f_[8] + rhs.w_ * f_[12];
109 ret.y_ = rhs.x_ * f_[1] + rhs.y_ * f_[5] + rhs.z_ * f_[9] + rhs.w_ * f_[13];
110 ret.z_ = rhs.x_ * f_[2] + rhs.y_ * f_[6] + rhs.z_ * f_[10] + rhs.w_ * f_[14];
111 ret.w_ = rhs.x_ * f_[3] + rhs.y_ * f_[7] + rhs.z_ * f_[11] + rhs.w_ * f_[15];
123 temp = f_[0] * f_[5] * f_[10];
128 temp = f_[4] * f_[9] * f_[2];
133 temp = f_[8] * f_[1] * f_[6];
138 temp = -f_[8] * f_[5] * f_[2];
143 temp = -f_[4] * f_[1] * f_[10];
148 temp = -f_[0] * f_[9] * f_[6];
162 ret.f_[0] = (f_[5] * f_[10] - f_[9] * f_[6]) * det_1;
163 ret.f_[1] = -(f_[1] * f_[10] - f_[9] * f_[2]) * det_1;
164 ret.f_[2] = (f_[1] * f_[6] - f_[5] * f_[2]) * det_1;
165 ret.f_[4] = -(f_[4] * f_[10] - f_[8] * f_[6]) * det_1;
166 ret.f_[5] = (f_[0] * f_[10] - f_[8] * f_[2]) * det_1;
167 ret.f_[6] = -(f_[0] * f_[6] - f_[4] * f_[2]) * det_1;
168 ret.f_[8] = (f_[4] * f_[9] - f_[8] * f_[5]) * det_1;
169 ret.f_[9] = -(f_[0] * f_[9] - f_[8] * f_[1]) * det_1;
170 ret.f_[10] = (f_[0] * f_[5] - f_[4] * f_[1]) * det_1;
173 ret.f_[12] = -(f_[12] * ret.f_[0] + f_[13] * ret.f_[4] + f_[14] * ret.f_[8]);
174 ret.f_[13] = -(f_[12] * ret.f_[1] + f_[13] * ret.f_[5] + f_[14] * ret.f_[9]);
175 ret.f_[14] = -(f_[12] * ret.f_[2] + f_[13] * ret.f_[6] + f_[14] * ret.f_[10]);
177 ret.f_[3] = 0.0f;
178 ret.f_[7] = 0.0f;
179 ret.f_[11] = 0.0f;
180 ret.f_[15] = 1.0f;
198 ret.f_[0] = 1.0f;
199 ret.f_[4] = 0.0f;
200 ret.f_[8] = 0.0f;
201 ret.f_[12] = 0.0f;
202 ret.f_[1] = 0.0f;
203 ret.f_[5] = fCosine;
204 ret.f_[9] = fSine;
205 ret.f_[13] = 0.0f;
206 ret.f_[2] = 0.0f;
207 ret.f_[6] = -fSine;
208 ret.f_[10] = fCosine;
209 ret.f_[14] = 0.0f;
210 ret.f_[3] = 0.0f;
211 ret.f_[7] = 0.0f;
212 ret.f_[11] = 0.0f;
213 ret.f_[15] = 1.0f;
225 ret.f_[0] = fCosine;
226 ret.f_[4] = 0.0f;
227 ret.f_[8] = -fSine;
228 ret.f_[12] = 0.0f;
229 ret.f_[1] = 0.0f;
230 ret.f_[5] = 1.0f;
231 ret.f_[9] = 0.0f;
232 ret.f_[13] = 0.0f;
233 ret.f_[2] = fSine;
234 ret.f_[6] = 0.0f;
235 ret.f_[10] = fCosine;
236 ret.f_[14] = 0.0f;
237 ret.f_[3] = 0.0f;
238 ret.f_[7] = 0.0f;
239 ret.f_[11] = 0.0f;
240 ret.f_[15] = 1.0f;
253 ret.f_[0] = fCosine;
254 ret.f_[4] = fSine;
255 ret.f_[8] = 0.0f;
256 ret.f_[12] = 0.0f;
257 ret.f_[1] = -fSine;
258 ret.f_[5] = fCosine;
259 ret.f_[9] = 0.0f;
260 ret.f_[13] = 0.0f;
261 ret.f_[2] = 0.0f;
262 ret.f_[6] = 0.0f;
263 ret.f_[10] = 1.0f;
264 ret.f_[14] = 0.0f;
265 ret.f_[3] = 0.0f;
266 ret.f_[7] = 0.0f;
267 ret.f_[11] = 0.0f;
268 ret.f_[15] = 1.0f;
275 ret.f_[0] = 1.0f;
276 ret.f_[4] = 0.0f;
277 ret.f_[8] = 0.0f;
278 ret.f_[12] = fX;
279 ret.f_[1] = 0.0f;
280 ret.f_[5] = 1.0f;
281 ret.f_[9] = 0.0f;
282 ret.f_[13] = fY;
283 ret.f_[2] = 0.0f;
284 ret.f_[6] = 0.0f;
285 ret.f_[10] = 1.0f;
286 ret.f_[14] = fZ;
287 ret.f_[3] = 0.0f;
288 ret.f_[7] = 0.0f;
289 ret.f_[11] = 0.0f;
290 ret.f_[15] = 1.0f;
297 ret.f_[0] = 1.0f;
298 ret.f_[4] = 0.0f;
299 ret.f_[8] = 0.0f;
300 ret.f_[12] = vec.x_;
301 ret.f_[1] = 0.0f;
302 ret.f_[5] = 1.0f;
303 ret.f_[9] = 0.0f;
304 ret.f_[13] = vec.y_;
305 ret.f_[2] = 0.0f;
306 ret.f_[6] = 0.0f;
307 ret.f_[10] = 1.0f;
308 ret.f_[14] = vec.z_;
309 ret.f_[3] = 0.0f;
310 ret.f_[7] = 0.0f;
311 ret.f_[11] = 0.0f;
312 ret.f_[15] = 1.0f;
322 result.f_[0] = n2 / width;
323 result.f_[4] = 0;
324 result.f_[8] = 0;
325 result.f_[12] = 0;
326 result.f_[1] = 0;
327 result.f_[5] = n2 / height;
328 result.f_[9] = 0;
329 result.f_[13] = 0;
330 result.f_[2] = 0;
331 result.f_[6] = 0;
332 result.f_[10] = (farPlane + nearPlane) * rcpnmf;
333 result.f_[14] = farPlane * rcpnmf * n2;
334 result.f_[3] = 0;
335 result.f_[7] = 0;
336 result.f_[11] = -1.0;
337 result.f_[15] = 0;
357 result.f_[0] = vec_side.x_;
358 result.f_[4] = vec_side.y_;
359 result.f_[8] = vec_side.z_;
360 result.f_[12] = 0;
361 result.f_[1] = vec_up_norm.x_;
362 result.f_[5] = vec_up_norm.y_;
363 result.f_[9] = vec_up_norm.z_;
364 result.f_[13] = 0;
365 result.f_[2] = vec_forward.x_;
366 result.f_[6] = vec_forward.y_;
367 result.f_[10] = vec_forward.z_;
368 result.f_[14] = 0;
369 result.f_[3] = 0;
370 result.f_[7] = 0;
371 result.f_[11] = 0;
372 result.f_[15] = 1.0;