public b2Transform(b2Vec2 position, b2Rot rotation) : this(Box2DPINVOKE.new_b2Transform__SWIG_1(b2Vec2.getCPtr(position), b2Rot.getCPtr(rotation)), true) { if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); }
public static b2Vec2 b2MulT(b2Rot q, b2Vec2 v) { b2Vec2 ret = new b2Vec2(Box2DPINVOKE.b2MulT__SWIG_3(b2Rot.getCPtr(q), b2Vec2.getCPtr(v)), true); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(b2Rot obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public static b2Rot b2MulT(b2Rot q, b2Rot r) { b2Rot ret = new b2Rot(Box2DPINVOKE.b2MulT__SWIG_2(b2Rot.getCPtr(q), b2Rot.getCPtr(r)), true); if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve(); return ret; }