Consistency of Shape properties.

Post and discuss features you'd like to see in the BEPUphysics library.
Post Reply
Spankenstein
Posts: 249
Joined: Wed Nov 17, 2010 1:49 pm

Consistency of Shape properties.

Post by Spankenstein » Thu Aug 18, 2011 1:27 pm

BEPUphysics.Entities.Prefabs.Box uses 'Depth'

BEPUphysics.CollisionShapes.ConvexShapes.BoxShape uses 'Length'.

Can they not both use Depth instead please?

Thanks :)

Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Consistency of Shape properties.

Post by Norbo » Thu Aug 18, 2011 2:37 pm

As far as I can see, both are named Length. Could the "Depth" have been a local accidental refactoring? :)

Spankenstein
Posts: 249
Joined: Wed Nov 17, 2010 1:49 pm

Re: Consistency of Shape properties.

Post by Spankenstein » Thu Aug 18, 2011 3:14 pm

Damn, I've been an idiot. I had my own shape class with similar names. Sorry :oops:

Post Reply