Crates.io | math_vector |
lib.rs | math_vector |
version | 0.2.1 |
source | src |
created_at | 2022-10-08 08:40:25.717331 |
updated_at | 2022-10-08 08:40:25.717331 |
description | 3D vector class |
homepage | |
repository | |
max_upload_size | |
id | 683409 |
size | 55,788 |
A simple and convenient 3D vector type without excessive use of external dependencies. If other vector crates are swiss-army knives, math_vector 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.
You probably don't need any documentation to get by with the Vector
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 in-code documentation, where you can find examples and explanations of everything on offer.
To add math_vector as a dependency in any of your rust project, just add the following in your cargo.toml dependencies' section :
math_vector = { git = "https://github.com/ThomasByr/rust-math_vector" }