Exemplo n.º 1
0
 public static void AppleEngineInternalState(PInternalState2D internalState)
 {
     for (int i = 0; i < internalState.contactCount; i++)
     {
         PContactExport2D export = internalState.contactExports[i];
         NativeParallel2D.AddExternalContactData(export);
     }
 }
 public void ApplyEngineState(PInternalState2D state)
 {
     Parallel2D.AppleEngineInternalState(state);
 }
Exemplo n.º 3
0
 public static void ExportEngineInternalState(PInternalState2D internalState)
 {
     internalState.contactCount = _contactCount;
     Array.Copy(contactExports, internalState.contactExports, _contactCount);
 }
 public void ExportEngineState(PInternalState2D state)
 {
     Parallel2D.ExportEngineInternalState(state);
 }