diff --git a/scripts/generate_reference_glbs.py b/scripts/generate_reference_glbs.py index 8d94890e..39bcc131 100644 --- a/scripts/generate_reference_glbs.py +++ b/scripts/generate_reference_glbs.py @@ -89,8 +89,8 @@ def build_box(width: float, height: float, depth: float, subdivisions: int = 2) top_right = top_left + 1 bottom_left = top_left + stride bottom_right = bottom_left + 1 - indices.extend([top_left, bottom_left, bottom_right]) - indices.extend([top_left, bottom_right, top_right]) + indices.extend([top_left, bottom_right, bottom_left]) + indices.extend([top_left, top_right, bottom_right]) return positions, texcoords, indices