Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 13, 2012 4:59 pm 
Offline

Joined: Fri Jun 24, 2011 8:53 am
Posts: 130
I just noticed btRigidBody::getCenterOfMassTransform() and btCollisionObject::getWorldTransform() are the same thing.
Code:
return m_worldTransform;

I suppose this happened for historical reasons. Or perhaps they are supposed to be different somehow? Is there a plan to clean away one of those?


Top
 Profile  
 
PostPosted: Sun Apr 22, 2012 3:53 pm 
Offline

Joined: Sun Jan 29, 2012 10:01 pm
Posts: 49
I don't see how one can be removed without forcing a lot of people to rewrite their code.


Top
 Profile  
 
PostPosted: Mon Apr 23, 2012 5:30 pm 
Offline

Joined: Fri Jun 24, 2011 8:53 am
Posts: 130
You don't see a way because there's no way.
It's not like this is going to be a problem: there's another call which is doing exactly the same. Functions go deprecated every once in a while, it's how things go. Even OpenGL dropped a few things.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group