Crates.io | geometric |
lib.rs | geometric |
version | 0.2.1 |
source | src |
created_at | 2017-02-08 20:04:27.148204 |
updated_at | 2021-03-05 20:43:21.998955 |
description | A very simple vector and matrix library built on the vecmath crate. |
homepage | https://github.com/Pirh/geometric |
repository | https://github.com/Pirh/geometric.git |
max_upload_size | |
id | 8435 |
size | 26,014 |
A very simple vector and matrix library build on the vecmath crate.
let v2 = vec2(1.0, 2.0);
let v3 = Vector3::new([1.0, 2.0, 3.0]);
let v4 = Vector4::from([1.0, 2.0, 3.0, 4.0]);
let v0 = vec2(2.0, 2.0);
let v1 = (v0 * v0 + v0) / v0;