DrawCube method

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

Draw cube

Implementation

@override
void DrawCube(
  Vector3D position,
  double width,
  double height,
  double length,
  ColorD color,
) => _ffi.DrawCube(
  $.Vector3$.Ref1(position).asNativePointer<Vector3C>().ref,
  width,
  height,
  length,
  $.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);