void Start() { CallPCL.callStart(); Parallel.For(0, VERTICES_MAX / 6, j => { indicesMax[6 * j + 0] = 6 * j + 0; indicesMax[6 * j + 1] = 6 * j + 1; indicesMax[6 * j + 2] = 6 * j + 2; indicesMax[6 * j + 3] = 6 * j + 3; indicesMax[6 * j + 4] = 6 * j + 4; indicesMax[6 * j + 5] = 6 * j + 5; trisMax[12 * j + 0] = 6 * j + 0; trisMax[12 * j + 1] = 6 * j + 5; trisMax[12 * j + 2] = 6 * j + 3; trisMax[12 * j + 3] = 6 * j + 3; trisMax[12 * j + 4] = 6 * j + 4; trisMax[12 * j + 5] = 6 * j + 1; trisMax[12 * j + 6] = 6 * j + 5; trisMax[12 * j + 7] = 6 * j + 2; trisMax[12 * j + 8] = 6 * j + 4; trisMax[12 * j + 9] = 6 * j + 3; trisMax[12 * j + 10] = 6 * j + 5; trisMax[12 * j + 11] = 6 * j + 4; }); thread = new Thread(subThread); thread.Start(); }
void Start() { CallPCL.callStart(); }