Add missing rotation
This commit is contained in:
parent
02762141d0
commit
36b109dfe2
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ void draw()
|
||||||
|
|
||||||
buddha.rotateY(pitch);
|
buddha.rotateY(pitch);
|
||||||
buddha.rotateX(-roll);
|
buddha.rotateX(-roll);
|
||||||
|
buddha.rotateZ(yaw);
|
||||||
}
|
}
|
||||||
|
|
||||||
void onGyroscopeEvent(float x, float y, float z)
|
void onGyroscopeEvent(float x, float y, float z)
|
||||||
|
|
Loading…
Reference in a new issue