1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-13 11:10:43 +00:00
OpenDiablo2/d2core
danhale-git 921d44a70c
mapEntity.Step() benchmark and improvements. (#593)
* Initial test and benchmark for mapEntity.Step().

* Removed `&& !m.hasPath()` from mapEntity.atTarget

* Direction is now updated when the path node changes mid-step and target is updated when path is set.

* Test improvements.

* Deleted old benchmark function and tidying.

* d2math.Abs added.

* Abs benchmark and optimisation.

* Negate and Distance benchmark.

* Length and SetLength benchmark.

* Lerp and Dot benchmark.

* Cross and Normalize benchmark.

* Angle and SignedAngle benchmark.

* Trivial change to Vector.Abs()
2020-07-16 12:06:08 -04:00
..
d2asset d2asset: init without terminal (#586) 2020-07-13 20:30:30 -04:00
d2audio/ebiten Add static checks to help ensure implementations conform to interfaces (#582) 2020-07-13 09:05:04 -04:00
d2config Removed Configuration interface (#560) 2020-07-08 09:16:16 -04:00
d2gui 504 - removes input singleton in favor of d2interface.InputManager constructor injection (#584) 2020-07-13 20:29:17 -04:00
d2hero moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2input Revert my accidentally included hack (#589) 2020-07-14 06:59:35 -04:00
d2inventory moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2map mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
d2object Use vectors for object positioning (#587) 2020-07-14 00:25:23 -04:00
d2render/ebiten Replace ebitenUtil with d2DebugUtil and new charmap for debugger. (#577) 2020-07-11 18:12:20 -04:00
d2screen rely on App to know how to navigate between screens using a callback interface with explicit methods (#592) 2020-07-14 13:11:23 -04:00
d2term 504 - removes input singleton in favor of d2interface.InputManager constructor injection (#584) 2020-07-13 20:29:17 -04:00
d2ui 504 - removes input singleton in favor of d2interface.InputManager constructor injection (#584) 2020-07-13 20:29:17 -04:00