mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-11 04:54:28 +01:00
fix rotating stuff on contraptions
This commit is contained in:
parent
1de931a122
commit
751fc7192d
@ -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 New Issue
Block a user