예제 #1
0
파일: b2Vec3.cs 프로젝트: vanoseva/Box2DCS
 internal static HandleRef getCPtr(b2Vec3 obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #2
0
파일: b2Mat33.cs 프로젝트: vanoseva/Box2DCS
 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();
 }
예제 #3
0
파일: b2Mat33.cs 프로젝트: vanoseva/Box2DCS
 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;
 }
예제 #4
0
파일: Box2D.cs 프로젝트: vanoseva/Box2DCS
 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;
 }
예제 #5
0
파일: Box2D.cs 프로젝트: vanoseva/Box2DCS
 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;
 }
예제 #6
0
파일: Box2D.cs 프로젝트: vanoseva/Box2DCS
 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;
 }