コード例 #1
0
 public override void Draw(IntPtr rendererPtr, Camera camera)
 {
     SDL.SDL_SetRenderDrawColor(rendererPtr, Red, Grn, Blu, alpha);
     SDL.SDL_RenderDrawLine(rendererPtr, _drawPoints[0].x, _drawPoints[0].y, _drawPoints[1].x, _drawPoints[1].y);
 }