lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit ec82745c6d - Show all commits

View File

@ -12,6 +12,13 @@ macro_rules! impl_matrix {
self.array
}
#[inline]
pub fn from_rows(rows:[Vector<X,T>;Y])->Self
{
Matrix::new(
rows.map(|row|row.array),
)
}
#[inline]
pub fn map<F,U>(self,f:F)->Matrix<X,Y,U>
where
F:Fn(T)->U