glucose 0.1.5

multipurpose math and physics crate for my projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::*;
use bytemuck::{Pod, Zeroable};

unsafe impl<T: Copy, const N: usize> Pod for Vector<T, { N }> {}
unsafe impl<T, const N: usize> Zeroable for Vector<T, { N }> {}

unsafe impl<T: Copy, const M: usize, const N: usize> Pod for Matrix<T, { M }, { N }> {}
unsafe impl<T, const M: usize, const N: usize> Zeroable for Matrix<T, { M }, { N }> {}

unsafe impl<T: Copy, const N: usize> Pod for Bivector2<T> {}
unsafe impl<T, const N: usize> Zeroable for Bivector2<T> {}

unsafe impl<T: Copy, const N: usize> Pod for Rotor2<T> {}
unsafe impl<T, const N: usize> Zeroable for Rotor2<T> {}