2 stable releases

1.0.2 Mar 18, 2019
1.0.1 Mar 16, 2019

#24 in #internally

Download history 179/week @ 2024-07-23 188/week @ 2024-07-30 218/week @ 2024-08-06 305/week @ 2024-08-13 288/week @ 2024-08-20 382/week @ 2024-08-27 543/week @ 2024-09-03 549/week @ 2024-09-10 667/week @ 2024-09-17 428/week @ 2024-09-24 141/week @ 2024-10-01 562/week @ 2024-10-08 449/week @ 2024-10-15 447/week @ 2024-10-22 371/week @ 2024-10-29 477/week @ 2024-11-05

1,877 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