]> gitweb.hamatoma.de Git - robosim/commit
Fix collision check, transformation, refactoring
authorhama <hama@siduction.net>
Sun, 12 Oct 2014 12:40:08 +0000 (14:40 +0200)
committerhama <hama@siduction.net>
Sun, 12 Oct 2014 12:42:59 +0000 (14:42 +0200)
commitce349c56280a57e1448504c7e2b419eb0bdf3904
treeb461331b88be2679c5fd26e80440d1685f8584b5
parent7d81d8e38863b8bd6bfe6ffbde603beeaa909692
Fix collision check, transformation, refactoring

* intersection algorithm was wrong
* until now real world coordinates are equal to pixel coordinates
* usage of automatic supplementation of 'final'
15 files changed:
src/jlection/robotic/RoboSim.java
src/jlection/robotic/RobotModel.java
src/jlecture/simulation/Barrier.java
src/jlecture/simulation/ISheet.java
src/jlecture/simulation/Model.java
src/jlecture/simulation/Movable.java
src/jlecture/simulation/RectangleRW.java
src/jlecture/swing/LineSwing.java
src/jlecture/swing/PanelSwing.java
src/jlecture/swing/RectangleSwing.java
src/jlecture/swing/SheetSwing.java
src/jlecture/swing/WidgetSwing.java
src/jlecture/swing/XCrossSwing.java
test/jlecture/junit/ModelTest.java
test/jlecture/junit/WidgetTest.java