before anim rewrite
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <dangerzone/engine.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* animate a rectangle's position changing over time
|
||||
* => x0 -> x1, y0 -> y1, all else stays the same
|
||||
*
|
||||
* ONLY DOES ONE FRAME OF THE ANIMATION
|
||||
*/
|
||||
void
|
||||
anim_rect_pos(
|
||||
framebuffer_e framebuffer,
|
||||
uint32_t x0,
|
||||
uint32_t y0,
|
||||
uint32_t x1,
|
||||
|
||||
Reference in New Issue
Block a user