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 Color monochrome(float value, float alpha = 1, float hue = 360, float saturation = 0) { return(game1.monochrome(value, alpha, hue, saturation)); }