You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2020. It is now read-only.
{ // this is the long (lazy way) to find length ... i couldnt figure out equation
293
293
if (verticies_x_catmul.at(0).x + skip_size == verticies_x_catmul.at(index).x) // this is the long (lazy way) to find length ... i couldnt figure out equation
294
294
{ // this is the long (lazy way) to find length ... i couldnt figure out equation
295
-
points_per_row = index + 1;// this is the long (lazy way) to find length ... i couldnt figure out equation
295
+
points_per_row = (unsignedint)index + 1; // this is the long (lazy way) to find length ... i couldnt figure out equation
296
296
break; // this is the long (lazy way) to find length ... i couldnt figure out equation
297
297
} // this is the long (lazy way) to find length ... i couldnt figure out equation
298
298
} // this is the long (lazy way) to find length ... i couldnt figure out equation
299
299
300
300
// Indicies
301
-
for (size_t index = 0; index < verticies_x_catmul.size() - 1; index += 1) // for each point
301
+
for (GLuint index = 0; index < verticies_x_catmul.size() - 1; index += 1) // for each point
302
302
{
303
303
if( index + points_per_row + 1 >= verticies_x_catmul.size()) continue;
304
304
if (verticies_x_catmul.at(index).x != verticies_x_catmul.at(index + 1).x) continue; // ignoring edges
points_per_row = 0; // this is the long (lazy way) to find length ... i couldnt figure out equation
363
-
for (size_t index = 0; index < verticies_xz_catmul.size(); index += 1) // this is the long (lazy way) to find length ... i couldnt figure out equation
363
+
for (GLuint index = 0; index < verticies_xz_catmul.size(); index += 1) // this is the long (lazy way) to find length ... i couldnt figure out equation
364
364
{ // this is the long (lazy way) to find length ... i couldnt figure out equation
365
365
if (verticies_xz_catmul.at(0).x + skip_size == verticies_xz_catmul.at(index).x) // this is the long (lazy way) to find length ... i couldnt figure out equation
366
366
{ // this is the long (lazy way) to find length ... i couldnt figure out equation
367
-
points_per_row = index + 1;// this is the long (lazy way) to find length ... i couldnt figure out equation
367
+
points_per_row = (unsignedint)index + 1; // this is the long (lazy way) to find length ... i couldnt figure out equation
368
368
break; // this is the long (lazy way) to find length ... i couldnt figure out equation
369
369
} // this is the long (lazy way) to find length ... i couldnt figure out equation
370
370
} // this is the long (lazy way) to find length ... i couldnt figure out equation
371
371
372
372
// Indicies
373
-
for (size_t index = 0; index < verticies_xz_catmul.size() - 1; index += 1) // for every single damn point.............................................
373
+
for (GLuint index = 0; index < verticies_xz_catmul.size() - 1; index += 1) // for every single damn point.............................................
374
374
{
375
375
if (index + points_per_row + 1 >= verticies_xz_catmul.size()) continue;
376
376
if (verticies_xz_catmul.at(index).x != verticies_xz_catmul.at(index + 1).x) continue; // ignore edges
0 commit comments