3basis[0 * 3 + 1] = (ss - 1.0) / 2.0;
6basis[1 * 3 + 0] = (1.0 + rr) / 2.0;
10basis[2 * 3 + 0] = 0.0;
11basis[2 * 3 + 1] = (1.0 + ss) / 2.0;
12basis[2 * 3 + 2] = 0.0;
14basis[3 * 3 + 0] = (rr - 1.0) / 2.0;
15basis[3 * 3 + 1] = 0.0;
16basis[3 * 3 + 2] = 0.0;
18basis[4 * 3 + 0] = 0.0;
19basis[4 * 3 + 1] = 0.0;
20basis[4 * 3 + 2] = (tt - 1.0) / 2.0;
22basis[5 * 3 + 0] = 0.0;
23basis[5 * 3 + 1] = 0.0;
24basis[5 * 3 + 2] = (1.0 + tt) / 2.0;