internal BridgeTriangleRaycastCallback( ref btVector3 from, ref btVector3 to , RayResultCallback resultCallback , btCollisionObject collisionObject, btConcaveShape triangleMesh , ref btTransform colObjWorldTransform ) : base( ref from, ref to, (btTriangleRaycastCallback.EFlags)resultCallback.m_flags ) { m_resultCallback = ( resultCallback ); m_collisionObject = ( collisionObject ); m_triangleMesh = ( triangleMesh ); m_colObjWorldTransform = ( colObjWorldTransform ); }
internal void Initialize( btConvexShape castShape, ref btTransform from, ref btTransform to, ConvexResultCallback resultCallback, btCollisionObject collisionObject , btConcaveShape triangleMesh, ref btTransform triangleToWorld ) { base.Initialize( castShape, ref from, ref to, ref triangleToWorld, triangleMesh.getMargin() ); m_resultCallback = ( resultCallback ); m_collisionObject = ( collisionObject ); m_triangleMesh = ( triangleMesh ); }