public unsafe static void UpdateChildTransform(this CompoundShape obj, int childIndex, ref OpenTK.Matrix4 newChildTransform) { fixed(OpenTK.Matrix4 *newChildTransformPtr = &newChildTransform) { obj.UpdateChildTransform(childIndex, *(BulletSharp.Math.Matrix *)newChildTransformPtr); } }
public unsafe static void UpdateChildTransform(this CompoundShape obj, int childIndex, ref OpenTK.Matrix4 newChildTransform, bool shouldRecalculateLocalAabb) { fixed(OpenTK.Matrix4 *newChildTransformPtr = &newChildTransform) { obj.UpdateChildTransform(childIndex, *(BulletSharp.Math.Matrix *)newChildTransformPtr, shouldRecalculateLocalAabb); } }