Comment

Comment by arghbleargh

Isn't it simple enough to make three bounds checks to essentially do the same thing you did with the zero padding? You can even make it a function

    is_in_bounds(x, y, z)
parent arghbleargh 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton