Exemplo n.º 1
0
 public static b2Mat22 b2MulT(b2Mat22 A, b2Mat22 B)
 {
     b2Mat22 ret = new b2Mat22(Box2DPINVOKE.b2MulT__SWIG_1(b2Mat22.getCPtr(A), b2Mat22.getCPtr(B)), true);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 2
0
 public static b2Vec2 b2Mul(b2Mat22 A, b2Vec2 v)
 {
     b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2Mul__SWIG_0(b2Mat22.getCPtr(A), b2Vec2.getCPtr(v)), true);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 3
0
 public b2Mat22 GetInverse()
 {
     b2Mat22 ret = new b2Mat22(Box2DPINVOKE.b2Mat22_GetInverse(swigCPtr), true);
     return ret;
 }
Exemplo n.º 4
0
 public static b2Mat22 b2Abs(b2Mat22 A)
 {
     b2Mat22 ret = new b2Mat22(Box2DPINVOKE.b2Abs__SWIG_2(b2Mat22.getCPtr(A)), true);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 5
0
 internal static HandleRef getCPtr(b2Mat22 obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }