Loading src/main/java/org/example/newmat/GraphicsAndWindowsTest.java +3 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ import java.io.IOException; import java.util.Arrays; import java.util.List; import static java.lang.Math.abs; import static java.lang.Math.*; /** Loading Loading @@ -206,6 +206,8 @@ public class GraphicsAndWindowsTest extends Application { for (MovingObject o : objects ) { double x = releaseX -anchorX; double y = releaseY - anchorY; x = min(x,50); y = min(y,50); o.setVelocityVec(x,y,o.getVelocityVec()[2]); } Loading target/classes/Shape/Obstacle.class +12 B (3.12 KiB) File changed.No diff preview for this file type. View original file View changed file target/classes/Shape/ObstacleField.class +113 B (4.04 KiB) File changed.No diff preview for this file type. View original file View changed file target/classes/org/example/newmat/GraphicsAndWindowsTest$1.class (5.4 KiB) File changed.No diff preview for this file type. View original file View changed file Loading
src/main/java/org/example/newmat/GraphicsAndWindowsTest.java +3 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ import java.io.IOException; import java.util.Arrays; import java.util.List; import static java.lang.Math.abs; import static java.lang.Math.*; /** Loading Loading @@ -206,6 +206,8 @@ public class GraphicsAndWindowsTest extends Application { for (MovingObject o : objects ) { double x = releaseX -anchorX; double y = releaseY - anchorY; x = min(x,50); y = min(y,50); o.setVelocityVec(x,y,o.getVelocityVec()[2]); } Loading
target/classes/Shape/Obstacle.class +12 B (3.12 KiB) File changed.No diff preview for this file type. View original file View changed file
target/classes/Shape/ObstacleField.class +113 B (4.04 KiB) File changed.No diff preview for this file type. View original file View changed file
target/classes/org/example/newmat/GraphicsAndWindowsTest$1.class (5.4 KiB) File changed.No diff preview for this file type. View original file View changed file