1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-18 17:26:05 -04:00
OpenDiablo2/d2core/d2map/d2mapentity
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
..
animated_entity.go mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
map_entity_test.go mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
map_entity.go mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
missile.go mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
npc.go mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00
player.go mapEntity.Step() benchmark and improvements. (#593) 2020-07-16 12:06:08 -04:00