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,39 @@
|
||||
package Box2D.Common.Math
|
||||
{
|
||||
public class b2XForm
|
||||
{
|
||||
|
||||
public var position:b2Vec2 = new b2Vec2();
|
||||
|
||||
public var R:b2Mat22 = new b2Mat22();
|
||||
|
||||
public function b2XForm(param1:b2Vec2 = null, param2:b2Mat22 = null)
|
||||
{
|
||||
super();
|
||||
if(param1)
|
||||
{
|
||||
position.SetV(param1);
|
||||
R.SetM(param2);
|
||||
}
|
||||
}
|
||||
|
||||
public function Initialize(param1:b2Vec2, param2:b2Mat22) : void
|
||||
{
|
||||
position.SetV(param1);
|
||||
R.SetM(param2);
|
||||
}
|
||||
|
||||
public function SetIdentity() : void
|
||||
{
|
||||
position.SetZero();
|
||||
R.SetIdentity();
|
||||
}
|
||||
|
||||
public function Set(param1:b2XForm) : void
|
||||
{
|
||||
position.SetV(param1.position);
|
||||
R.SetM(param1.R);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user