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