Beispiel #1
0
 public static ModelRenderer GetInstance(GraphicsDevice device)
 {
     if (instance == null)
     {
         instance = new ModelRenderer(device);
     }
     return(instance);
 }
Beispiel #2
0
 private void Warm(GraphicsDevice device)
 {
     modelrenderer = new ModelRenderer(device);
     material = new BasicEffect(device);
     material.VertexColorEnabled = true;
     is_warm = true;
 }
Beispiel #3
0
 public static ModelRenderer GetInstance(GraphicsDevice device)
 {
     if (instance == null)
         instance = new ModelRenderer(device);
     return instance;
 }