Skip to content

Commit

Permalink
hacky fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anopara committed Feb 9, 2022
1 parent 6d8b457 commit 2241c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/arch_curve_segments.comp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void main() {
return;
}

for (int i=0; i<curve_npt-1; i++) {
for (int i=0; i<min(curve_npt-1, 1000); i++) {
// get curve segment positions
vec3 p1 = curves[idx].positions[i].xyz;
vec3 p2 = curves[idx].positions[i+1].xyz;
Expand Down

0 comments on commit 2241c36

Please sign in to comment.