AndresTraks / BulletSharpPInvoke

.NET wrapper for the Bullet physics library using Platform Invoke
http://andrestraks.github.io/BulletSharp/
150 stars 97 forks source link

Enumerator changes #71

Open Basewq opened 4 years ago

Basewq commented 4 years ago

Changes

  1. Fix all enumerators Reset to the correct index.
  2. Change all enumerators to struct so there's no object allocation when the concrete classes are used in a foreach loop.