Box.scaleByFactor

Scale the box by factor scale, and round the result to integer if needed.

  1. Box scaleByFactor(float scale)
    struct Box(T, int N)
    public @nogc const nothrow
    scaleByFactor
    (
    float scale
    )
  2. Box scaleByFactor(float scaleX, float scaleY)

Meta