Alter comments

This commit is contained in:
Patrick 'Quezler' Mounier 2020-03-23 17:05:03 +01:00
parent 6228b5353f
commit 6b27d19057
No known key found for this signature in database
GPG Key ID: 0D6CA7326C76D8EA

View File

@ -85,13 +85,13 @@ public class CraterConveyor extends Block implements Autotiler{
if(entity.from == Pos.invalid) return;
// position
// offset
Tile from = world.tile(entity.from);
Tmp.v1.set(from);
Tmp.v2.set(tile);
Tmp.v1.interpolate(Tmp.v2, 1f - entity.cooldown, Interpolation.linear);
// fixme, cleanup
// fixme
float a = (from.rotation()%4) * 90;
float b = (tile.rotation()%4) * 90;
if((from.rotation()%4) == 3 && (tile.rotation()%4) == 0) a = -1 * 90;