1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 22:25:24 +00:00
OpenDiablo2/d2core/d2map
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
..
d2mapengine Refactored d2enum (#567) 2020-07-09 23:12:28 -04:00
d2mapentity mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
d2mapgen D2map lint warnings (#566) 2020-07-09 16:11:01 -04:00
d2maprenderer Use vectors for object positioning (#587) 2020-07-14 00:25:23 -04:00
d2mapstamp D2map lint warnings (#566) 2020-07-09 16:11:01 -04:00