DrawModel method

void DrawModel(
  1. ModelD model,
  2. Vector3D position,
  3. num scale,
  4. ColorD tint,
)

Draw a model (with texture if set)

Implementation

void DrawModel(
  ModelD model,
  Vector3D position,
  num scale,
  ColorD tint
) => run(
  () => _debugLabels.DrawModel(model, position, scale, tint),
  () => _flat.DrawModel(
    model,
    position,
    scale.toDouble(),
    tint,
  ),
);