Skip to content

Commit 4b29bba

Browse files
committed
chore(display): doesnt seem like this can fit in 32 bits, remove TODO
1 parent 1c1e6fc commit 4b29bba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

display/rendering/canvas.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,6 @@ DEFN_RENDER(triangle)
315315
//
316316
// [1]: https://en.wikipedia.org/wiki/Barycentric_coordinate_system
317317

318-
// TODO: there may be nice mathy properties that prove these
319-
// always fit in 32 bits, but for now i'm using 64 bit
320-
// integers, which surely fit.
321-
322318
const int64_t det = ((int64_t)tri.y1 - (int64_t)tri.y2) *
323319
((int64_t)tri.x0 - (int64_t)tri.x2) +
324320
((int64_t)tri.x2 - (int64_t)tri.x1) *

0 commit comments

Comments
 (0)