Skip to content

Commit 6a39757

Browse files
spelman7Hugo Campos
authored andcommitted
fix(pointcloud.vert): use snake_case for max_clip_boxes (#42)
- this reference to `max_clip_boxes` was capitalized, resulting in shader errors while attempting to use some of the clipping functionality.
1 parent 0aa9fdd commit 6a39757

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/materials/shaders/pointcloud.vert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ void main() {
496496

497497
#if defined use_clip_box
498498
bool insideAny = false;
499-
for (int i = 0; i < MAX_CLIP_BOXES; i++) {
499+
for (int i = 0; i < max_clip_boxes; i++) {
500500
if (i == int(clipBoxCount)) {
501501
break;
502502
}

0 commit comments

Comments
 (0)