lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
2 changed files with 16 additions and 15 deletions
Showing only changes of commit f0527714db - Show all commits

View File

@ -36,19 +36,6 @@ macro_rules! impl_wide_vector_operations_1arg_not_const_generic {
}
};
}
#[doc(hidden)]
#[macro_export(local_inner_macros)]
macro_rules! do_macro_repeated{
(
$macro:ident,
$any:tt,
$($repeated:tt),*
)=>{
$(
$crate::$macro!($repeated, $any);
)*
};
}
#[doc(hidden)]
#[macro_export(local_inner_macros)]
@ -57,7 +44,7 @@ macro_rules! do_macro_8x8{
$macro:ident,
$any:tt
)=>{
$crate::do_macro_repeated!($macro, $any,
$crate::macro_repeated!($macro, $any,
(1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),
(1,2),(2,2),(3,2),(4,2),(5,2),(6,2),(7,2),(8,2),
(1,3),(2,3),(3,3),(4,3),(5,3),(6,3),(7,3),(8,3),
@ -77,7 +64,7 @@ macro_rules! do_macro_8{
$macro:ident,
$any:tt
)=>{
$crate::do_macro_repeated!($macro, $any, 1,2,3,4,5,6,7,8);
$crate::macro_repeated!($macro, $any, 1,2,3,4,5,6,7,8);
};
}

View File

@ -4,3 +4,17 @@ pub mod fixed_wide;
pub mod common;
pub mod vector;
pub mod matrix;
#[doc(hidden)]
#[macro_export(local_inner_macros)]
macro_rules! macro_repeated{
(
$macro:ident,
$any:tt,
$($repeated:tt),*
)=>{
$(
$crate::$macro!($repeated, $any);
)*
};
}