Namespace: DeltaEngine.Physics2D.Farseer.Tests
Assembly: DeltaEngine.Physics2D.Farseer.Tests (in DeltaEngine.Physics2D.Farseer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Physics2D.Farseer.Tests (in DeltaEngine.Physics2D.Farseer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void TestAngleJoint() { var bodyA = physics.CreateCircle(3.0f); var bodyB = physics.CreateCircle(3.0f); var joint = physics.CreateAngleJoint(bodyA, bodyB, (float)Math.PI / 2); Assert.IsNotNull(joint); }
[Test] public void TestAngleJointBodiesEqual() { var bodyA = physics.CreateCircle(3.0f); var bodyB = physics.CreateCircle(3.0f); var joint = physics.CreateAngleJoint(bodyA, bodyB, (float)Math.PI / 2); Assert.AreEqual(joint.BodyA, bodyA); Assert.AreEqual(joint.BodyB, bodyB); }
See Also