Vastly improved orientation calculation and implementation
authorChristian Femers <femers@in.tum.de>
Sun, 1 Sep 2019 00:47:04 +0000 (02:47 +0200)
committerChristian Femers <femers@in.tum.de>
Sun, 1 Sep 2019 00:47:04 +0000 (02:47 +0200)
commit1372abe81775e52cc52b715139cf13097a481b49
tree62c43693d135aed5defc02d11de28ad71aff8851
parente04c95a6b7bf1c9bc0cde07abfed06613f353e1a
Vastly improved orientation calculation and implementation

Let's be serious, nobody understood the old one and it was completely
unreadable. This is much better now and can be reused as needed, even
for asymmetric components. Performance should be roughly the same as
before.
net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/Orientation.java [new file with mode: 0644]
net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/OrientationCalculator.java [new file with mode: 0644]
net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/GUITriStateBuffer.java