api changes and progress on filling in twn_api.json
This commit is contained in:
@ -15,8 +15,14 @@ void draw_triangle(const char *path,
|
||||
Vec3 v2,
|
||||
Vec2 uv0,
|
||||
Vec2 uv1,
|
||||
Vec2 uv2)
|
||||
Vec2 uv2,
|
||||
Color c0,
|
||||
Color c1,
|
||||
Color c2)
|
||||
{
|
||||
// TODO: support color
|
||||
(void)c0; (void)c1; (void)c2;
|
||||
|
||||
// TODO: order drawing by atlas id as well, so that texture rebinding is not as common
|
||||
const TextureKey texture_key = textures_get_key(&ctx.texture_cache, path);
|
||||
|
||||
|
Reference in New Issue
Block a user