Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 651 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 651 Bytes

CS:GO Vec2 Class

A simple class that implements a 2-dimensional Vector into CS:GO VScript, it uses the normal Vector class for computation under the hood (acting like a wrapper) to mentain performance.

Usage

This class implements the exact same methods(Length(), Dot(), Norm()) and metamethods(addition, subtraction, scaling) as the normal Vector class does, and as such they should be interchangeable.

Licence

You are free to use, modify and share this library under the terms of the MIT License. The only condition is keeping the copyright notice, and stating whether or not the code was modified. See LICENSE for details.