mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-25 02:19:45 +01:00
tweaked ship positions
This commit is contained in:
parent
a656ab5062
commit
50bee91775
@ -25,7 +25,6 @@ import pp.battleship.model.Shot;
|
|||||||
import static java.util.Objects.requireNonNull;
|
import static java.util.Objects.requireNonNull;
|
||||||
import static pp.util.FloatMath.HALF_PI;
|
import static pp.util.FloatMath.HALF_PI;
|
||||||
import static pp.util.FloatMath.PI;
|
import static pp.util.FloatMath.PI;
|
||||||
import static pp.util.FloatMath.QUARTER_PI;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@code SeaSynchronizer} class is responsible for synchronizing the graphical
|
* The {@code SeaSynchronizer} class is responsible for synchronizing the graphical
|
||||||
@ -241,7 +240,7 @@ class SeaSynchronizer extends ShipMapSynchronizer {
|
|||||||
final Spatial model = app.getAssetManager().loadModel(BATTLE_MODEL);
|
final Spatial model = app.getAssetManager().loadModel(BATTLE_MODEL);
|
||||||
|
|
||||||
model.rotate(-HALF_PI, calculateRotationAngle(ship.getRot()), 0f);
|
model.rotate(-HALF_PI, calculateRotationAngle(ship.getRot()), 0f);
|
||||||
// model.move(0f, -0.05f, 0f);
|
model.move(0f, -0.06f, 0f);
|
||||||
model.scale(0.27f);
|
model.scale(0.27f);
|
||||||
model.setShadowMode(ShadowMode.CastAndReceive);
|
model.setShadowMode(ShadowMode.CastAndReceive);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user