|
BGC Tools
|
Set of extensions for unity data structure Vector2 More...
Static Public Member Functions | |
| static Vector2 | Rotate (this Vector2 v, float degrees) |
| Rotate a 2d vector by specified number of degrees More... | |
| static float | Min (this Vector2 v) |
| get the minimum of the x or y values in the vector More... | |
Set of extensions for unity data structure Vector2
Definition at line 8 of file Vector2Extensions.cs.
|
inlinestatic |
get the minimum of the x or y values in the vector
| v |
Definition at line 30 of file Vector2Extensions.cs.
|
inlinestatic |
Rotate a 2d vector by specified number of degrees
| v | |
| degrees | angle to rotate by in degrees |
Definition at line 16 of file Vector2Extensions.cs.
1.8.13