drawCube function

void drawCube(
  1. Vector3 position,
  2. double width,
  3. double height,
  4. double length,
  5. Color color,
)

Draw cube.

Implementation

void drawCube(
  Vector3 position,
  double width,
  double height,
  double length,
  Color color,
) {
  return library.DrawCube(
    position.ref,
    width,
    height,
    length,
    color.ref,
  );
}