Skip to content

Commit 43e885e

Browse files
committed
Fix quad vertex order
1 parent 1a44e85 commit 43e885e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quad.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ void Quad::parse(
2222

2323
Point3 points[] = {
2424
transform.apply(Point3(-1.f, 0.f, -1.f)),
25-
transform.apply(Point3(-1.f, 0.f, 1.f)),
2625
transform.apply(Point3(1.f, 0.f, -1.f)),
26+
transform.apply(Point3(-1.f, 0.f, 1.f)),
2727

2828
transform.apply(Point3(-1.f, 0.f, 1.f)),
29-
transform.apply(Point3(1.f, 0.f, 1.f)),
3029
transform.apply(Point3(1.f, 0.f, -1.f)),
30+
transform.apply(Point3(1.f, 0.f, 1.f)),
3131
};
3232

3333
UV uvs[] = {

0 commit comments

Comments
 (0)