Skip to main content

Module pixel

Module pixel 

Source
Expand description

Operations useful for pixel art.

Functions§

pixel_perfect_aabb
Align a rectangle of the given pixel size with the framebuffer’s pixels.
pixel_perfect_pos
Align a world position with a framebuffer pixel.