calculators update

This commit is contained in:
minjaesong
2026-03-07 18:03:36 +09:00
parent 3a4aa165f6
commit 71ea63b48e
3 changed files with 75 additions and 10 deletions

View File

@@ -135,7 +135,7 @@ int apply_model(const char *tga_path) {
int lowheight = output[11] >= 0.5f;
/* Compose Y+5 pixel: lowheight (alpha=0xFF when set) */
uint32_t lh_pixel = lowheight ? 0x000000FF : 0x00000000;
uint32_t lh_pixel = lowheight ? 0xFFFFFFFF : 0x00000000;
tga_write_pixel(tga_path, img, tag_x, tag_y + 5, lh_pixel);
/* Compose Y+6 pixel: