BulletSim: remove unused, commented out code in BSConstraint
parent
0a4c080e63
commit
9ca1075e7e
|
@ -48,14 +48,6 @@ public class BSConstraint : IDisposable
|
||||||
m_world = world;
|
m_world = world;
|
||||||
m_body1 = obj1;
|
m_body1 = obj1;
|
||||||
m_body2 = obj2;
|
m_body2 = obj2;
|
||||||
/*
|
|
||||||
BulletSimAPI.AddConstraint(world.ID, m_body1.ID, m_body2.ID,
|
|
||||||
frame1, frame1rot,
|
|
||||||
frame2, frame2rot,
|
|
||||||
linearLow, linearHigh,
|
|
||||||
angularLow, angularHigh
|
|
||||||
);
|
|
||||||
*/
|
|
||||||
m_constraint = new BulletConstraint(BulletSimAPI.CreateConstraint2(m_world.Ptr, m_body1.Ptr, m_body2.Ptr,
|
m_constraint = new BulletConstraint(BulletSimAPI.CreateConstraint2(m_world.Ptr, m_body1.Ptr, m_body2.Ptr,
|
||||||
frame1, frame1rot,
|
frame1, frame1rot,
|
||||||
frame2, frame2rot));
|
frame2, frame2rot));
|
||||||
|
|
Loading…
Reference in New Issue