city_generator2

Generated conformal 3D meshes representing a city
git clone git://git.meso-star.fr/city_generator2.git
Log | Files | Refs | README | LICENSE

commit bc449c874753b7b678880e3282151dd40dbdf5d1
parent e46ab576caa9ceadad7d1773cc2f5f7b0d81b9ea
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 10 Jan 2025 10:35:43 +0100

Fix windows Z placement for mode_2

Diffstat:
Msrc/cg_construction_mode_2.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cg_construction_mode_2.c b/src/cg_construction_mode_2.c @@ -949,7 +949,7 @@ build_windows dxdydz[0] = -N[1] * offset; dxdydz[1] = N[0] * offset; /* Z positioning (centered) */ - dxdydz[2] = (wall_height - window_height) * 0.5; + dxdydz[2] = 0; ERR(str_printf(&name, "surface+_%lu_w%lu", (long unsigned)i, (long unsigned)n)); /* surface_ is used to check for neighbor compatibility with a slitghly