Skip to content

MAA28/rust-math_vector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 96.8%
  • Makefile 3.2%