Lines Matching defs:m1
1576 double m[6], ictm[6], m1[6];
1634 // m1 = PTM * BTM = PTM * base transform matrix
1635 m1[0] = ptm[0] * btm[0] + ptm[1] * btm[2];
1636 m1[1] = ptm[0] * btm[1] + ptm[1] * btm[3];
1637 m1[2] = ptm[2] * btm[0] + ptm[3] * btm[2];
1638 m1[3] = ptm[2] * btm[1] + ptm[3] * btm[3];
1639 m1[4] = ptm[4] * btm[0] + ptm[5] * btm[2] + btm[4];
1640 m1[5] = ptm[4] * btm[1] + ptm[5] * btm[3] + btm[5];
1641 // m = m1 * iCTM = (PTM * BTM) * (iCTM)
1642 m[0] = m1[0] * ictm[0] + m1[1] * ictm[2];
1643 m[1] = m1[0] * ictm[1] + m1[1] * ictm[3];
1644 m[2] = m1[2] * ictm[0] + m1[3] * ictm[2];
1645 m[3] = m1[2] * ictm[1] + m1[3] * ictm[3];
1646 m[4] = m1[4] * ictm[0] + m1[5] * ictm[2] + ictm[4];
1647 m[5] = m1[4] * ictm[1] + m1[5] * ictm[3] + ictm[5];