2020-08-25 13:40:41 +00:00
|
|
|
// Growing or shrinking circles
|
|
|
|
// ----------------------------
|
2024-05-26 17:39:06 +00:00
|
|
|
extern "C" {
|
2022-08-04 13:29:34 +00:00
|
|
|
|
2024-05-25 18:31:09 +00:00
|
|
|
#include "th01/math/subpixel.hpp"
|
|
|
|
|
2020-08-25 13:40:41 +00:00
|
|
|
// [center_x] and [center_y] are *passed* as subpixels, but stored at pixel
|
|
|
|
// precision, as master.lib's grcg_circle() function doesn't support more than
|
|
|
|
// that anyway.
|
|
|
|
void pascal circles_add_growing(subpixel_t center_x, subpixel_t center_y);
|
|
|
|
void pascal circles_add_shrinking(subpixel_t center_x, subpixel_t center_y);
|
|
|
|
|
|
|
|
void pascal near circles_update(void);
|
|
|
|
void pascal near circles_render(void);
|
2024-05-26 17:39:06 +00:00
|
|
|
|
|
|
|
}
|
2020-08-25 13:40:41 +00:00
|
|
|
// ----------------------------
|