summaryrefslogtreecommitdiffhomepage
path: root/src/sprite.h
blob: 81ad5fa727fb01d751909a62367a0c52a2021264 (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
{
	uint32_t iter;
	struct config
	{
		uint32_t width;
		uint32_t height;
		uint32_t count;
		rodeo_texture_2d_t *texture;
	} config;
}
sprite_t;

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