2basis[0 * 3 + 0] = (1.0 - ss) * (1.0 - tt) / 4.0;
7basis[1 * 3 + 1] = (1.0 + rr) * (1.0 - tt) / 4.0;
10basis[2 * 3 + 0] = -(1.0 + ss) * (1.0 - tt) / 4.0;
11basis[2 * 3 + 1] = 0.0;
12basis[2 * 3 + 2] = 0.0;
14basis[3 * 3 + 0] = 0.0;
15basis[3 * 3 + 1] = -(1.0 - rr) * (1.0 - tt) / 4.0;
16basis[3 * 3 + 2] = 0.0;
18basis[4 * 3 + 0] = (1.0 - ss) * (1.0 + tt) / 4.0;
19basis[4 * 3 + 1] = 0.0;
20basis[4 * 3 + 2] = 0.0;
22basis[5 * 3 + 0] = 0.0;
23basis[5 * 3 + 1] = (1.0 + rr) * (1.0 + tt) / 4.0;
24basis[5 * 3 + 2] = 0.0;
26basis[6 * 3 + 0] = -(1.0 + ss) * (1.0 + tt) / 4.0;
27basis[6 * 3 + 1] = 0.0;
28basis[6 * 3 + 2] = 0.0;
30basis[7 * 3 + 0] = 0.0;
31basis[7 * 3 + 1] = -(1.0 - rr) * (1.0 + tt) / 4.0;
32basis[7 * 3 + 2] = 0.0;
34basis[8 * 3 + 0] = 0.0;
35basis[8 * 3 + 1] = 0.0;
36basis[8 * 3 + 2] = (1.0 - rr) * (1.0 - ss) / 4.0;
38basis[9 * 3 + 0] = 0.0;
39basis[9 * 3 + 1] = 0.0;
40basis[9 * 3 + 2] = (1.0 + rr) * (1.0 - ss) / 4.0;
42basis[10 * 3 + 0] = 0.0;
43basis[10 * 3 + 1] = 0.0;
44basis[10 * 3 + 2] = (1.0 + rr) * (1.0 + ss) / 4.0;
46basis[11 * 3 + 0] = 0.0;
47basis[11 * 3 + 1] = 0.0;
48basis[11 * 3 + 2] = (1.0 - rr) * (1.0 + ss) / 4.0;