Esempio n. 1
0
 protected void Draw(int x, int y, Vector4?color = null)
 {
     if (x >= 0 && x < this.ScreenWidth && y >= 0 && y < this.ScreenHeight)
     {
         SetColor(color ?? Vector4.One);
         SDLRender.RenderDrawPoint(_renderer, x, y);
     }
 }