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