2018-09-20 16:50:34 +08:00
|
|
|
use na::Scalar;
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
use crate::aliases::{UVec2, Vec2, Vec4};
|
2018-09-20 16:50:34 +08:00
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn packDouble2x32<T: Scalar>(v: &UVec2) -> f64 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn packHalf2x16<T: Scalar>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn packSnorm2x16<T: Scalar>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn packSnorm4x8<T: Scalar>(v: &Vec4) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn packUnorm2x16<T: Scalar>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn packUnorm4x8<T: Scalar>(v: &Vec4) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn unpackDouble2x32<T: Scalar>(v: f64) -> UVec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn unpackHalf2x16<T: Scalar>(v: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn unpackSnorm2x16<T: Scalar>(p: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn unpackSnorm4x8<T: Scalar>(p: u32) -> Vec4 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn unpackUnorm2x16<T: Scalar>(p: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
pub fn unpackUnorm4x8<T: Scalar>(p: u32) -> Vec4 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|