Lines Matching refs:in1
433 void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3])
435 out[0][0] = in1[0][0] * in2[0][0] + in1[0][1] * in2[1][0] +
436 in1[0][2] * in2[2][0];
437 out[0][1] = in1[0][0] * in2[0][1] + in1[0][1] * in2[1][1] +
438 in1[0][2] * in2[2][1];
439 out[0][2] = in1[0][0] * in2[0][2] + in1[0][1] * in2[1][2] +
440 in1[0][2] * in2[2][2];
441 out[1][0] = in1[1][0] * in2[0][0] + in1[1][1] * in2[1][0] +
442 in1[1][2] * in2[2][0];
443 out[1][1] = in1[1][0] * in2[0][1] + in1[1][1] * in2[1][1] +
444 in1[1][2] * in2[2][1];
445 out[1][2] = in1[1][0] * in2[0][2] + in1[1][1] * in2[1][2] +
446 in1[1][2] * in2[2][2];
447 out[2][0] = in1[2][0] * in2[0][0] + in1[2][1] * in2[1][0] +
448 in1[2][2] * in2[2][0];
449 out[2][1] = in1[2][0] * in2[0][1] + in1[2][1] * in2[1][1] +
450 in1[2][2] * in2[2][1];
451 out[2][2] = in1[2][0] * in2[0][2] + in1[2][1] * in2[1][2] +
452 in1[2][2] * in2[2][2];
461 void R_ConcatTransforms (float in1[3][4], float in2[3][4], float out[3][4])
463 out[0][0] = in1[0][0] * in2[0][0] + in1[0][1] * in2[1][0] +
464 in1[0][2] * in2[2][0];
465 out[0][1] = in1[0][0] * in2[0][1] + in1[0][1] * in2[1][1] +
466 in1[0][2] * in2[2][1];
467 out[0][2] = in1[0][0] * in2[0][2] + in1[0][1] * in2[1][2] +
468 in1[0][2] * in2[2][2];
469 out[0][3] = in1[0][0] * in2[0][3] + in1[0][1] * in2[1][3] +
470 in1[0][2] * in2[2][3] + in1[0][3];
471 out[1][0] = in1[1][0] * in2[0][0] + in1[1][1] * in2[1][0] +
472 in1[1][2] * in2[2][0];
473 out[1][1] = in1[1][0] * in2[0][1] + in1[1][1] * in2[1][1] +
474 in1[1][2] * in2[2][1];
475 out[1][2] = in1[1][0] * in2[0][2] + in1[1][1] * in2[1][2] +
476 in1[1][2] * in2[2][2];
477 out[1][3] = in1[1][0] * in2[0][3] + in1[1][1] * in2[1][3] +
478 in1[1][2] * in2[2][3] + in1[1][3];
479 out[2][0] = in1[2][0] * in2[0][0] + in1[2][1] * in2[1][0] +
480 in1[2][2] * in2[2][0];
481 out[2][1] = in1[2][0] * in2[0][1] + in1[2][1] * in2[1][1] +
482 in1[2][2] * in2[2][1];
483 out[2][2] = in1[2][0] * in2[0][2] + in1[2][1] * in2[1][2] +
484 in1[2][2] * in2[2][2];
485 out[2][3] = in1[2][0] * in2[0][3] + in1[2][1] * in2[1][3] +
486 in1[2][2] * in2[2][3] + in1[2][3];