2018-09-20 16:50:34 +08:00
|
|
|
use na::Scalar;
|
|
|
|
|
2019-03-23 21:29:07 +08:00
|
|
|
use crate::aliases::{Vec2, Vec4, UVec2};
|
2018-09-20 16:50:34 +08:00
|
|
|
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn packDouble2x32<N: Scalar>(v: &UVec2) -> f64 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn packHalf2x16<N: Scalar>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn packSnorm2x16<N: Scalar>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn packSnorm4x8<N: Scalar>(v: &Vec4) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn packUnorm2x16<N: Scalar>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn packUnorm4x8<N: Scalar>(v: &Vec4) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn unpackDouble2x32<N: Scalar>(v: f64) -> UVec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn unpackHalf2x16<N: Scalar>(v: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn unpackSnorm2x16<N: Scalar>(p: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn unpackSnorm4x8<N: Scalar>(p: u32) -> Vec4 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn unpackUnorm2x16<N: Scalar>(p: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-12-17 07:09:14 +08:00
|
|
|
pub fn unpackUnorm4x8<N: Scalar>(p: u32) -> Vec4 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|