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

18 lines
451 B
Rust
Raw Normal View History

2018-09-21 01:54:12 +08:00
//use na::{Scalar, DefaultAllocator};
//
//use traits::{Alloc, Dimension};
//use aliases::TVec;
//pub fn iround<N: Scalar, D: Dimension>(x: &TVec<N, D>) -> TVec<i32, D>
2018-09-21 01:54:12 +08:00
// where DefaultAllocator: Alloc<N, D> {
// x.map(|x| x.round())
//}
//
//pub fn log2<I>(x: I) -> I {
// unimplemented!()
//}
//
//pub fn uround<N: Scalar, D: Dimension>(x: &TVec<N, D>) -> TVec<u32, D>
2018-09-21 01:54:12 +08:00
// where DefaultAllocator: Alloc<N, D> {
// unimplemented!()
//}