public unsafe static void CalculateTemporalAabb(this CollisionShape obj, ref OpenTK.Matrix4 curTrans, ref OpenTK.Vector3 linvel, ref OpenTK.Vector3 angvel, float timeStep, out OpenTK.Vector3 temporalAabbMin, out OpenTK.Vector3 temporalAabbMax) { fixed(OpenTK.Matrix4 *curTransPtr = &curTrans) { fixed(OpenTK.Vector3 *linvelPtr = &linvel) { fixed(OpenTK.Vector3 *angvelPtr = &angvel) { fixed(OpenTK.Vector3 *temporalAabbMinPtr = &temporalAabbMin) { fixed(OpenTK.Vector3 *temporalAabbMaxPtr = &temporalAabbMax) { obj.CalculateTemporalAabb(ref *(BulletSharp.Math.Matrix *)curTransPtr, ref *(BulletSharp.Math.Vector3 *)linvelPtr, ref *(BulletSharp.Math.Vector3 *)angvelPtr, timeStep, out *(BulletSharp.Math.Vector3 *)temporalAabbMinPtr, out *(BulletSharp.Math.Vector3 *)temporalAabbMaxPtr); } } } } } }