mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
42 lines
879 B
ActionScript
42 lines
879 B
ActionScript
package Box2D.Dynamics.Contacts
|
|
{
|
|
import Box2D.Collision.*;
|
|
import Box2D.Common.*;
|
|
import Box2D.Common.Math.*;
|
|
import Box2D.Dynamics.*;
|
|
|
|
public class b2ContactConstraint
|
|
{
|
|
|
|
public var points:Array;
|
|
|
|
public var normal:b2Vec2 = new b2Vec2();
|
|
|
|
public var manifold:b2Manifold;
|
|
|
|
public var body1:b2Body;
|
|
|
|
public var body2:b2Body;
|
|
|
|
public var friction:Number;
|
|
|
|
public var restitution:Number;
|
|
|
|
public var pointCount:int;
|
|
|
|
public function b2ContactConstraint()
|
|
{
|
|
var _loc1_:int = 0;
|
|
super();
|
|
points = new Array(2);
|
|
_loc1_ = 0;
|
|
while(_loc1_ < 2)
|
|
{
|
|
points[_loc1_] = new b2ContactConstraintPoint();
|
|
_loc1_++;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|