2 stable releases

1.0.2 Mar 18, 2019
1.0.1 Mar 16, 2019

#8 in #explanation

Download history 89/week @ 2024-01-13 107/week @ 2024-01-20 275/week @ 2024-01-27 436/week @ 2024-02-03 331/week @ 2024-02-10 295/week @ 2024-02-17 246/week @ 2024-02-24 322/week @ 2024-03-02 334/week @ 2024-03-09 450/week @ 2024-03-16 424/week @ 2024-03-23 432/week @ 2024-03-30 432/week @ 2024-04-06 497/week @ 2024-04-13 434/week @ 2024-04-20 374/week @ 2024-04-27

1,859 downloads per month
Used in 6 crates (via vector2d)

Unlicense

3KB

vector2d

A simple and convenient 2D vector type without excessive use of external dependencies. If other vector crates are swiss-army knives, vector2d is a spoon; safe, intuitive, and convenient. As an added bonus, you won't run into any excursions with the law using this library thanks to the awfully permissive Unlicense.

Using vector2d

You probably don't need any documentation to get by with the Vector2D type; functions like dot, length, and angle are hopefully all named intuitively enough for you feel them out. If you do find yourself wondering about certain bits of functionality, then be sure to take a look at the documentation, where you can find examples and explanations of everything on offer.

No runtime deps