From 8f6518388291af1f41d710c3ec23c6a8a96a2c76 Mon Sep 17 00:00:00 2001 From: Orange Date: Wed, 8 Apr 2026 15:34:05 +0300 Subject: [PATCH] fixed tests --- examples/example_barycentric/example_barycentric.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/example_barycentric/example_barycentric.cpp b/examples/example_barycentric/example_barycentric.cpp index ebdcac2..4d36607 100644 --- a/examples/example_barycentric/example_barycentric.cpp +++ b/examples/example_barycentric/example_barycentric.cpp @@ -71,18 +71,18 @@ void drawChar(char c, float x, float y, float scale, const Color& color, std::ve lines.push_back(x + x1 * w); lines.push_back(y + y1 * h); lines.push_back(0.0f); - lines.push_back(color.x); - lines.push_back(color.y); - lines.push_back(color.z); + lines.push_back(color.value().x); + lines.push_back(color.value().y); + lines.push_back(color.value().z); lines.push_back(1.0f); // size lines.push_back(1.0f); // isLine lines.push_back(x + x2 * w); lines.push_back(y + y2 * h); lines.push_back(0.0f); - lines.push_back(color.x); - lines.push_back(color.y); - lines.push_back(color.z); + lines.push_back(color.value().x); + lines.push_back(color.value().y); + lines.push_back(color.value().z); lines.push_back(1.0f); // size lines.push_back(1.0f); // isLine };