Skip to main content

GROUND_CHECKER_SIZE

Constant GROUND_CHECKER_SIZE 

Source
pub const GROUND_CHECKER_SIZE: u32 = 256;
Expand description

The ground texture’s edge length in pixels; the checker draws eight squares per side, so each square is a block of GROUND_CHECKER_SIZE / 8 pixels.