solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit 5fa944bf195fc44b778b1375d4f91b2209863610
parent 37ac445de881af69605768ae1967bdf0ea999ca5
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu,  1 Sep 2016 15:57:02 +0200

Fix a test geometry that was not compliant with CW convention

Diffstat:
Msrc/test_ssol_geometries.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test_ssol_geometries.h b/src/test_ssol_geometries.h @@ -27,14 +27,14 @@ struct desc { static const float square_walls [] = { -1, -1, 0, - 1, -1, 0, - 1, 1, 0, + 1, -1, 0, + 1, 1, 0, -1, 1, 0 }; const unsigned square_walls_nverts = sizeof(square_walls) / sizeof(float[3]); const unsigned square_walls_ids [] = { - 0, 1, 2, 2, 3, 0 + 0, 2, 1, 2, 0, 3 }; const unsigned square_walls_ntris = sizeof(square_walls_ids) / sizeof(unsigned[3]);