public unsafe static void SetLocalCenter(this ConvexPolyhedron obj, ref OpenTK.Vector3 value) { fixed(OpenTK.Vector3 *valuePtr = &value) { obj.LocalCenter = *(BulletSharp.Math.Vector3 *)valuePtr; } }
public unsafe static void GetExtents(this ConvexPolyhedron obj, out OpenTK.Vector3 value) { fixed(OpenTK.Vector3 *valuePtr = &value) { *(BulletSharp.Math.Vector3 *)valuePtr = obj.Extents; } }
public unsafe static void Project(this ConvexPolyhedron obj, ref OpenTK.Matrix4 trans, ref OpenTK.Vector3 dir, out float minProj, out float maxProj, out OpenTK.Vector3 witnesPtMin, out OpenTK.Vector3 witnesPtMax) { fixed(OpenTK.Matrix4 *transPtr = &trans) { fixed(OpenTK.Vector3 *dirPtr = &dir) { fixed(OpenTK.Vector3 *witnesPtMinPtr = &witnesPtMin) { fixed(OpenTK.Vector3 *witnesPtMaxPtr = &witnesPtMax) { obj.Project(ref *(BulletSharp.Math.Matrix *)transPtr, ref *(BulletSharp.Math.Vector3 *)dirPtr, out minProj, out maxProj, out *(BulletSharp.Math.Vector3 *)witnesPtMinPtr, out *(BulletSharp.Math.Vector3 *)witnesPtMaxPtr); } } } } }
public void SetPolyhedralFeatures(ConvexPolyhedron polyhedron) { btPolyhedralConvexShape_setPolyhedralFeatures(Native, polyhedron.Native); }
public static void SetExtents(this ConvexPolyhedron obj, OpenTK.Vector3 value) { SetExtents(obj, ref value); }
public static OpenTK.Vector3 GetME(this ConvexPolyhedron obj) { OpenTK.Vector3 value; GetME(obj, out value); return(value); }
public static void SetLocalCenter(this ConvexPolyhedron obj, OpenTK.Vector3 value) { SetLocalCenter(obj, ref value); }