mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01: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,26 @@
|
||||
package Box2D.Collision
|
||||
{
|
||||
import Box2D.Common.Math.b2Vec2;
|
||||
|
||||
public class b2AABB
|
||||
{
|
||||
|
||||
public var lowerBound:b2Vec2 = new b2Vec2();
|
||||
|
||||
public var upperBound:b2Vec2 = new b2Vec2();
|
||||
|
||||
public function b2AABB()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function IsValid() : Boolean
|
||||
{
|
||||
var _loc2_:Number = upperBound.x - lowerBound.x;
|
||||
var _loc3_:Number = upperBound.y - lowerBound.y;
|
||||
var _loc1_:Boolean = _loc2_ >= 0 && _loc3_ >= 0;
|
||||
return _loc1_ && lowerBound.IsValid() && upperBound.IsValid();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user