mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
BulletSim: fix cut-and-paste typo in constraint frame setting.
This code is in the XNA module so it does not affect the normal Bullet configuration .
This commit is contained in:
@@ -658,7 +658,7 @@ private sealed class BulletConstraintXNA : BulletConstraint
|
||||
IndexedVector3 frame2v = new IndexedVector3(pframe2.X, pframe2.Y, pframe2.Z);
|
||||
IndexedQuaternion frame2rot = new IndexedQuaternion(pframe2rot.X, pframe2rot.Y, pframe2rot.Z, pframe2rot.W);
|
||||
IndexedMatrix frame2 = IndexedMatrix.CreateFromQuaternion(frame2rot);
|
||||
frame2._origin = frame1v;
|
||||
frame2._origin = frame2v;
|
||||
constraint.SetFrames(ref frame1, ref frame2);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user