DrawPixel method

void DrawPixel(
  1. num posX,
  2. num posY,
  3. ColorD color
)

Implementation

void DrawPixel(
  num posX,
  num posY,
  ColorD color,
) => run(
  () => 'DrawPixel($posX, $posY, $color)',
  () => rl.Core.DrawPixel(
    posX.toInt(),
    posY.toInt(),
    rl.Temp.Color$.Ref1(color).ref,
  ),
);