14 lines
297 B
C
14 lines
297 B
C
#ifndef RENDER_BUFFER
|
|
#define RENDER_BUFFER
|
|
|
|
#define fe_width 128
|
|
#define fe_height 64
|
|
|
|
void fe_clear_zbuffer();
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
bool fe_zbuffer_set_px(const uint32_t x, const uint32_t y, const uint32_t dist); // true if you are allowed to draw the pixel on vram
|
|
|
|
#endif |