- for (int i = 0; i < 4; i++) {
- (*tl[i])[0] = base + osg::Vec2(i, 0)*layer_scale/4;
- for (int j = 0; j < 4; j++) {
- (*tl[i])[j*2+1] = base + osg::Vec2(i+1, j)*layer_scale/4;
- (*tl[i])[j*2+2] = base + osg::Vec2(i, j+1)*layer_scale/4;
- }
- (*tl[i])[9] = base + osg::Vec2(i+1, 4)*layer_scale/4;
- }
-