1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-28 08:49:30 +00:00

Added rectangle gradients, triangles, updated sf2dlib

Gradients are done with additional parameters to gfx.rectangle, so old code that gave the function too many parameters and expected them to be ignored may break.
This commit is contained in:
Reuh 2016-06-27 15:29:55 +02:00
parent 4a2c1a7c68
commit b47971bfca
6 changed files with 280 additions and 113 deletions

View file

@ -7,6 +7,8 @@
void GPU_SetDummyTexEnv(u8 num);
void sf2d_draw_rectangle_internal(const sf2d_vertex_pos_col *vertices);
// Vector operations
void vector_mult_matrix4x4(const float *msrc, const sf2d_vector_3f *vsrc, sf2d_vector_3f *vdst);