Ejemplo n.º 1
0
 private void ReIntitializeTag4Circle(Vector3 positionCenter, float distanceX, SphereRigid circleIn)
 {
     (circleIn).ReInitializeData
     (
         MathHelperModule.GetPositionXNA(positionCenter, distanceX / 2, circleIn.Radius),
         circleIn.GetMaterial(),
         (distanceX / 2)
     );
 }
Ejemplo n.º 2
0
 private void ReIntitializeTag4Rectangle(Vector3 positionCenter, float distanceX, BoxRigid rectIn)
 {
     (rectIn).ReInitializeData
     (
         MathHelperModule.GetPositionXNA(positionCenter, distanceX / 2, rectIn.GetHalfHeight()),
         rectIn.GetMaterial(),
         new Vector3(distanceX / 2, rectIn.GetHalfHeight(), 0)
     );
 }
Ejemplo n.º 3
0
 private void ReIntitializeTag3Rectangle(Vector3 positionCenter, float distanceY, BoxRigid rectIn)
 {
     (rectIn).ReInitializeData
     (
         MathHelperModule.GetPositionXNA(positionCenter, rectIn.GetHalfWidth(), distanceY / 2),
         rectIn.GetMaterial(),
         new Vector3(rectIn.GetHalfWidth(), distanceY / 2, 0)
     );
 }