better triangle

This commit is contained in:
Mylloon 2023-05-08 12:27:29 +02:00
parent 69629eb941
commit b205093c54
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -73,6 +73,7 @@ static void draw(void) {
gl4duBindMatrix(matrix_model); gl4duBindMatrix(matrix_model);
gl4duLoadIdentityf(); gl4duLoadIdentityf();
gl4duScalef(1, 1.5, 1);
gl4duSendMatrices(); gl4duSendMatrices();
glUniform4fv(couleur_loc, 1, couleur_heros); glUniform4fv(couleur_loc, 1, couleur_heros);