mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 13:13:42 +01:00
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 degrees = offset + time * speed * -3/10;
|
||||||
float angle = fract(degrees / 360) * PI * 2;
|
float angle = fract(degrees / 360) * PI * 2;
|
||||||
|
|
||||||
return rotate(vec3(0, 1, 0), angle);
|
return rotate(rotationAxis, angle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
Loading…
Reference in a new issue