summaryrefslogtreecommitdiffhomepage
path: root/src/sprite.h
blob: c1a5c0e3d085d862cd70245b35d98777844bb8bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "rodeo.h"

typedef
struct
{
	float iter;
	struct config
	{
		uint32_t width;
		uint32_t height;
		uint32_t count;
		rodeo_gfx_texture_2d_t texture;
	} config;
}
sprite_t;

void
draw_sprite(sprite_t *sprite, float x, float y, float scale, rodeo_color_RGBAFloat_t color);