nalgebra/nalgebra-glm/src/gtc/integer.rs

17 lines
329 B
Rust
Raw Normal View History

2021-04-11 17:00:38 +08:00
//use na::Scalar;
//
2018-09-21 01:54:12 +08:00
//
2019-03-23 21:29:07 +08:00
//use crate::aliases::TVec;
2021-04-11 17:00:38 +08:00
//pub fn iround<T: Scalar, const D: usize>(x: &TVec<T, D>) -> TVec<i32, D> {
2018-09-21 01:54:12 +08:00
// x.map(|x| x.round())
//}
//
//pub fn log2<I>(x: I) -> I {
// unimplemented!()
//}
//
2021-04-11 17:00:38 +08:00
//pub fn uround<T: Scalar, const D: usize>(x: &TVec<T, D>) -> TVec<u32, D> {
2018-09-21 01:54:12 +08:00
// unimplemented!()
//}