cuboidScale static method

Vector3 cuboidScale(
  1. double width,
  2. double height,
  3. double depth
)

Convenience scale vector for a cuboid of the given extents.

Implementation

static Vector3 cuboidScale(double width, double height, double depth) =>
    Vector3(width, height, depth);