Skip to content

Commit

Permalink
cleanup easing/interpolation debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 25, 2024
1 parent 695bb40 commit 59083f2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions examples/2048/2048.v
Original file line number Diff line number Diff line change
Expand Up @@ -756,16 +756,10 @@ fn (app &App) draw_one_tile(x int, y int, tidx int) {
.none {} // Don't draw any text here, colors only
.end {} // Should never get here
}
oidx_fmt := gx.TextCfg{
...fmt
size: 14
}
/*
app.gg.draw_text(xoffset + 50, yoffset + 15, 'y:${oidx >> 16}|x:${oidx & 0xFFFF}|m:${app.mtickers[y][x]:5.3f}',
oidx_fmt)
app.gg.draw_text(xoffset + 52, yoffset + 30, 'ox:${ox}|oy:${oy}', oidx_fmt)
app.gg.draw_text(xoffset + 52, yoffset + 85, 'dx:${dx}|dy:${dy}', oidx_fmt)
*/
// oidx_fmt := gx.TextCfg{...fmt,size: 14}
// app.gg.draw_text(xoffset + 50, yoffset + 15, 'y:${oidx >> 16}|x:${oidx & 0xFFFF}|m:${app.mtickers[y][x]:5.3f}', oidx_fmt)
// app.gg.draw_text(xoffset + 52, yoffset + 30, 'ox:${ox}|oy:${oy}', oidx_fmt)
// app.gg.draw_text(xoffset + 52, yoffset + 85, 'dx:${dx}|dy:${dy}', oidx_fmt)
}
}

Expand Down

0 comments on commit 59083f2

Please sign in to comment.