mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 17:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,43 @@
|
||||
package Box2D.Collision
|
||||
{
|
||||
public class b2ContactID
|
||||
{
|
||||
|
||||
public var features:Features = new Features();
|
||||
|
||||
public var _key:uint;
|
||||
|
||||
public function b2ContactID()
|
||||
{
|
||||
super();
|
||||
features._m_id = this;
|
||||
}
|
||||
|
||||
public function Set(param1:b2ContactID) : void
|
||||
{
|
||||
key = param1._key;
|
||||
}
|
||||
|
||||
public function Copy() : b2ContactID
|
||||
{
|
||||
var _loc1_:b2ContactID = new b2ContactID();
|
||||
_loc1_.key = key;
|
||||
return _loc1_;
|
||||
}
|
||||
|
||||
public function get key() : uint
|
||||
{
|
||||
return _key;
|
||||
}
|
||||
|
||||
public function set key(param1:uint) : void
|
||||
{
|
||||
_key = param1;
|
||||
features._referenceEdge = _key & 0xFF;
|
||||
features._incidentEdge = (_key & 0xFF00) >> 8 & 0xFF;
|
||||
features._incidentVertex = (_key & 0xFF0000) >> 16 & 0xFF;
|
||||
features._flip = (_key & 0xFF000000) >> 24 & 0xFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user