fix rotating stuff on contraptions
This commit is contained in:
parent
1de931a122
commit
751fc7192d
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ mat4 kineticRotation() {
|
|||
float degrees = offset + time * speed * -3/10;
|
||||
float angle = fract(degrees / 360) * PI * 2;
|
||||
|
||||
return rotate(vec3(0, 1, 0), angle);
|
||||
return rotate(rotationAxis, angle);
|
||||
}
|
||||
|
||||
void main() {
|
||||
|
|
Loading…
Reference in a new issue