]> git.nega.tv - josh/narcissus/commitdiff
Remove useless commented code
authorJoshua Simmons <josh@nega.tv>
Thu, 6 Oct 2022 21:28:20 +0000 (23:28 +0200)
committerJoshua Simmons <josh@nega.tv>
Thu, 6 Oct 2022 21:28:20 +0000 (23:28 +0200)
narcissus-maths/src/vec4.rs

index 6f678fae2d2d7a8bb00b90958d18e48e25f69b44..a72d4e5e1cd18810c3f0c04f8935c5d460e412d2 100644 (file)
@@ -78,21 +78,6 @@ impl From<Vec4> for std::arch::x86_64::__m128 {
     }
 }
 
-//
-// #[inline(always)]
-// pub(crate) fn as_m128(self) -> std::arch::x86_64::__m128 {
-//
-// }
-
-// #[cfg(target_feature = "sse2")]
-// #[inline(always)]
-// pub(crate) fn from_m128(values: std::arch::x86_64::__m128) -> Self {
-//     use std::arch::x86_64::_mm_storeu_ps;
-//     let mut result = Vec4::ZERO;
-//     unsafe { _mm_storeu_ps(&mut result.x, values) }
-//     result
-// }
-
 impl std::ops::Add for Vec4 {
     type Output = Vec4;