public void Draw(Matrix view, Matrix projection) { for (int s = 0; s < stars.Length; ++s) { game1.DrawModel( game1.sphereModel, Matrix.CreateScale(stars[s].W) * Matrix.CreateTranslation(stars[s].X, stars[s].Y, stars[s].Z), view, projection, game1.monochrome(1.0f), false); } }
public void DrawModel(Model model, Matrix world, Color color) { game1.DrawModel(model, world, camera.view, camera.projection, color); }