Skip to content

Commit 8f65183

Browse files
committed
fixed tests
1 parent 327db8d commit 8f65183

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

examples/example_barycentric/example_barycentric.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@ void drawChar(char c, float x, float y, float scale, const Color& color, std::ve
7171
lines.push_back(x + x1 * w);
7272
lines.push_back(y + y1 * h);
7373
lines.push_back(0.0f);
74-
lines.push_back(color.x);
75-
lines.push_back(color.y);
76-
lines.push_back(color.z);
74+
lines.push_back(color.value().x);
75+
lines.push_back(color.value().y);
76+
lines.push_back(color.value().z);
7777
lines.push_back(1.0f); // size
7878
lines.push_back(1.0f); // isLine
7979

8080
lines.push_back(x + x2 * w);
8181
lines.push_back(y + y2 * h);
8282
lines.push_back(0.0f);
83-
lines.push_back(color.x);
84-
lines.push_back(color.y);
85-
lines.push_back(color.z);
83+
lines.push_back(color.value().x);
84+
lines.push_back(color.value().y);
85+
lines.push_back(color.value().z);
8686
lines.push_back(1.0f); // size
8787
lines.push_back(1.0f); // isLine
8888
};

0 commit comments

Comments
 (0)