Trim extraspaces
This commit is contained in:
parent
af51348b09
commit
073d60a51e
2 changed files with 1 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
||||||
void cube(int etat) {
|
void cube(int etat) {
|
||||||
static GLuint cube = 0, proc_id = 0;
|
static GLuint cube = 0, proc_id = 0;
|
||||||
static GLclampf rgb[3] = { 0 };
|
static GLclampf rgb[3] = { 0 };
|
||||||
|
|
||||||
static GLfloat musique[3] = {0};
|
static GLfloat musique[3] = {0};
|
||||||
|
|
||||||
switch(etat) {
|
switch(etat) {
|
||||||
|
@ -59,7 +58,6 @@ void cube(int etat) {
|
||||||
if(musique[1] != musique[0]) {
|
if(musique[1] != musique[0]) {
|
||||||
gl4duScalef(s, s, s);
|
gl4duScalef(s, s, s);
|
||||||
}
|
}
|
||||||
printf("Son : %f\n", s);
|
|
||||||
gl4duRotatef(cube_rotation, 0, 1, 0);
|
gl4duRotatef(cube_rotation, 0, 1, 0);
|
||||||
gl4duSendMatrices();
|
gl4duSendMatrices();
|
||||||
gl4dgDraw(cube);
|
gl4dgDraw(cube);
|
||||||
|
|
Reference in a new issue