DrawCube method

void DrawCube(
  1. Vector3D position,
  2. num width,
  3. num height,
  4. num length,
  5. ColorD color,
)

Implementation

void DrawCube(
  Vector3D position,
  num width,
  num height,
  num length,
  ColorD color,
) => run(
  () => 'DrawCube($position, $width, $height, $length, $color)',
  () => rl.Core.DrawCube(
    _refVector31(position).ref,
    width.toDouble(),
    height.toDouble(),
    length.toDouble(),
    _refColor1(color).ref,
  ),
);