probably wrong stuff

This commit is contained in:
Quaternions 2024-09-03 12:25:17 -07:00
parent 1f1568ebe9
commit f7ae745bef

View File

@ -105,10 +105,10 @@ macro_rules! impl_matrix_wide_mul_inner {
(
$lhs:ident, $lhs_field_outer:ident, $wide_dot:ident, $rhs:ident,
//pass this in twice, once for pass through and once to parse
$struct_inner_thru: tt,
$rhs_struct_inner: tt,
($struct_inner: ident { $($field_inner: ident), + }),
$rhs_outer_thru: tt,
($rhs_outer: ident { $($rhs_outer_field: ident), + })
($rhs_outer: ident { $($rhs_field_outer: ident), + })
) => {
$struct_inner {
$(
@ -116,9 +116,9 @@ macro_rules! impl_matrix_wide_mul_inner {
//construct a transposed vector with the same width as $struct_outer
$crate::impl_matrix_wide_mul_transpose_helper!{
$rhs,
$struct_inner_thru,
$rhs_outer_thru,
$rhs_outer_field
$rhs_struct_inner,//into
$rhs_outer_thru,//from
$rhs_field_outer
}
)
), +
@ -143,7 +143,7 @@ macro_rules! impl_matrix_wide_mul_outer {
$field_outer: $crate::impl_matrix_wide_mul_inner!{
$lhs, $field_outer, $wide_dot, $rhs,
$struct_inner,//thru
$struct_inner,
$rhs_struct_inner,
$rhs_matrix,//thru
$rhs_matrix
}