| Crates.io | polydimensional_rust |
| lib.rs | polydimensional_rust |
| version | 0.1.0 |
| created_at | 2025-11-04 15:04:36.154523+00 |
| updated_at | 2025-11-04 15:04:36.154523+00 |
| description | Lightweight library for Rust created to make work with **matrixes** and **vectors** in 2D, 3D and 4D better and faster! |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1916370 |
| size | 7,431 |
Lightweight library for Rust created to make work with matrixes and vectors in 2D, 3D and 4D better and faster!
Just add this to your Cargo.toml:
[dependencies]
polydimensional_rust = "0.1"
So, now you can do this in your main.rs for example:
use polydimensional_rust::linear_algebra::{Vector3, Matrix4, Matrix3, Vector2};
fn main() {
let vector_product = Vector3::new(3.0, 5.0, 6.0)
.cross_product(&Vector3::new(8.0, 4.0, 2.0)); // library will give you product to your variable
println!("Result: {:?}", vector_product);
}
unsafe functions(you can check it on my repo)Please, when you want to leave feedback, give me a star - I will be very grateful to you!