The method `scl` in the `com.badlogic.gdx.math.Vector2` class in Java is used to scale a vector by a specified scalar value. This method multiplies the x and y components of the vector by the given scalar value, effectively changing the magnitude of the vector while preserving its direction. The original vector is modified in place and returned.
Java Vector2.scl - 22 examples found. These are the top rated real world Java examples of com.badlogic.gdx.math.Vector2.scl extracted from open source projects. You can rate examples to help us improve the quality of examples.