diff --git a/ggdt/src/graphics/bitmap/rgb/triangles.rs b/ggdt/src/graphics/bitmap/rgb/triangles.rs index 584f376..973f91b 100644 --- a/ggdt/src/graphics/bitmap/rgb/triangles.rs +++ b/ggdt/src/graphics/bitmap/rgb/triangles.rs @@ -1,5 +1,5 @@ use std::simd; -use std::simd::{SimdFloat, SimdUint}; +use std::simd::prelude::{SimdFloat, SimdUint}; use crate::graphics::{edge_function, per_pixel_triangle_2d, BlendFunction, RgbaBitmap, RGBA}; use crate::math::Vector2; diff --git a/ggdt/src/graphics/color.rs b/ggdt/src/graphics/color.rs index 8133c37..cdc7a94 100644 --- a/ggdt/src/graphics/color.rs +++ b/ggdt/src/graphics/color.rs @@ -1,6 +1,6 @@ use std::ops::{Mul, MulAssign}; use std::simd; -use std::simd::{SimdFloat, SimdUint}; +use std::simd::prelude::{SimdFloat, SimdUint}; use byteorder::{ReadBytesExt, WriteBytesExt}; diff --git a/ggdt/src/math/mod.rs b/ggdt/src/math/mod.rs index bca1e4b..282f4a2 100644 --- a/ggdt/src/math/mod.rs +++ b/ggdt/src/math/mod.rs @@ -1,6 +1,6 @@ use std::ops::{Add, Div, Mul, Sub}; use std::simd; -use std::simd::{SimdFloat, SimdPartialOrd}; +use std::simd::prelude::{SimdFloat, SimdPartialOrd}; mod circle; mod matrix3x3;