blob: 2d9f7be4a0f8d7a7b576cfa0bbe5388b1579d4c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#[cfg(feature = "simd-is-enabled")]
use crate::math::{Point, SimdReal};
#[cfg(feature = "simd-is-enabled")]
#[derive(Copy, Clone, Debug)]
pub(crate) struct WBall {
pub center: Point<SimdReal>,
pub radius: SimdReal,
}
#[cfg(feature = "simd-is-enabled")]
impl WBall {
pub fn new(center: Point<SimdReal>, radius: SimdReal) -> Self {
WBall { center, radius }
}
}
|