WIP: Rotations in R4, and change colors

This commit is contained in:
PedroEdiaz
2024-11-26 23:51:30 -06:00
parent a8ae6aaef6
commit 589721a953
6 changed files with 86 additions and 37 deletions

View File

@@ -38,7 +38,7 @@ void load_fix_matrix(id_t shader, float ratio)
void load_mdl_matrix(id_t shader, unsigned char i, unsigned char c)
{
load_float_to_shader(shader, "idx", c);
load_uint_to_shader(shader, "idx", c);
load_mat4_to_shader(shader, "mdl", (mat4_t)ortho[i]);
}