mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 07:33:41 +01:00
whoops everything was spinning backwards
This commit is contained in:
parent
c299e84512
commit
fd6e06b487
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ struct Rotating {
|
||||||
#flwinclude <"create:data/blockfragment.glsl">
|
#flwinclude <"create:data/blockfragment.glsl">
|
||||||
|
|
||||||
mat4 kineticRotation(float offset, float speed, vec3 axis) {
|
mat4 kineticRotation(float offset, float speed, vec3 axis) {
|
||||||
float degrees = offset + uTime * speed * 3./10.;
|
float degrees = offset + uTime * speed * -3./10.;
|
||||||
float angle = fract(degrees / 360.) * PI * 2.;
|
float angle = fract(degrees / 360.) * PI * 2.;
|
||||||
|
|
||||||
return rotate(axis, angle);
|
return rotate(axis, angle);
|
||||||
|
|
Loading…
Reference in a new issue