forked from M-Labs/nalgebra
Comment about faster impl for unit sphere sampling
This commit is contained in:
parent
c8fe49b1e9
commit
09f26385cc
@ -853,6 +853,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(specialization): faster impls possible for D≤4 (see rand_distr::{UnitCircle, UnitSphere})
|
||||
#[cfg(feature = "rand")]
|
||||
impl<N: crate::RealField, D: DimName> Distribution<Unit<VectorN<N, D>>> for Standard
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user