예제 #1
0
    public static unsafe GalaxySimulation.UniverseState *Clone(GalaxySimulation.UniverseState * src)
    {
        var dst = CreateGalaxy(src->numBlackHoles);

        CopyGalaxy(src, dst);
        return(dst);
    }
예제 #2
0
 public static unsafe extern void StepGalaxy(GalaxySimulation.UniverseState *ptr);
예제 #3
0
 public static unsafe extern void CopyGalaxy(GalaxySimulation.UniverseState *from, GalaxySimulation.UniverseState *to);