Exemple #1
0
 internal static HandleRef getCPtr(b2Vec3 obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #2
0
 public b2Mat33(b2Vec3 c1, b2Vec3 c2, b2Vec3 c3)
     : this(Box2DPINVOKE.new_b2Mat33__SWIG_1(b2Vec3.getCPtr(c1), b2Vec3.getCPtr(c2), b2Vec3.getCPtr(c3)), true)
 {
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #3
0
 public b2Vec3 Solve33(b2Vec3 b)
 {
     b2Vec3 ret = new b2Vec3(Box2DPINVOKE.b2Mat33_Solve33(swigCPtr, b2Vec3.getCPtr(b)), true);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #4
0
 public static b2Vec3 b2Mul(b2Mat33 A, b2Vec3 v)
 {
     b2Vec3 ret = new b2Vec3(Box2DPINVOKE.b2Mul__SWIG_2(b2Mat33.getCPtr(A), b2Vec3.getCPtr(v)), true);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #5
0
 public static float b2Dot(b2Vec3 a, b2Vec3 b)
 {
     float ret = Box2DPINVOKE.b2Dot__SWIG_1(b2Vec3.getCPtr(a), b2Vec3.getCPtr(b));
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #6
0
 public static b2Vec3 b2Cross(b2Vec3 a, b2Vec3 b)
 {
     b2Vec3 ret = new b2Vec3(Box2DPINVOKE.b2Cross__SWIG_3(b2Vec3.getCPtr(a), b2Vec3.getCPtr(b)), true);
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }