Пример #1
0
 public static PhysicsRenderer GetInstance(GraphicsDevice device)
 {
     if (instance == null)
     {
         instance = new PhysicsRenderer(device);
     }
     return(instance);
 }
Пример #2
0
 public static PhysicsRenderer GetInstance(GraphicsDevice device)
 {
     if (instance == null)
         instance = new PhysicsRenderer(device);
     return instance;
 }