setLength method

  1. @override
Vector4 setLength(
  1. double length
)
override

Implementation

@override
Vector4 setLength(double length) {
  return normalize().scale(length);
}