math_vector

Crates.iomath_vector
lib.rsmath_vector
version0.2.1
sourcesrc
created_at2022-10-08 08:40:25.717331
updated_at2022-10-08 08:40:25.717331
description3D vector class
homepage
repository
max_upload_size
id683409
size55,788
(MAA28)

documentation

README

math_vector, 3d vectors crate for rust

  1. vectors ?
  2. using math_vector
  3. changelog

vectors ?

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.

using math_vector

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" }

changelog

  1. a brand new 2d vector library (now in rust 2021)
  2. moving to 3d to be more generic (be carefull when compiling old code though)
  3. fast inverse square root
  4. more vector handling functions
Commit count: 0

cargo fmt