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-11-22 05:43:58 +08:00
|
|
|
pub fn packDouble2x32<N: Scalar + Copy>(v: &UVec2) -> f64 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn packHalf2x16<N: Scalar + Copy>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn packSnorm2x16<N: Scalar + Copy>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn packSnorm4x8<N: Scalar + Copy>(v: &Vec4) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn packUnorm2x16<N: Scalar + Copy>(v: &Vec2) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn packUnorm4x8<N: Scalar + Copy>(v: &Vec4) -> u32 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn unpackDouble2x32<N: Scalar + Copy>(v: f64) -> UVec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn unpackHalf2x16<N: Scalar + Copy>(v: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn unpackSnorm2x16<N: Scalar + Copy>(p: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn unpackSnorm4x8<N: Scalar + Copy>(p: u32) -> Vec4 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn unpackUnorm2x16<N: Scalar + Copy>(p: u32) -> Vec2 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:43:58 +08:00
|
|
|
pub fn unpackUnorm4x8<N: Scalar + Copy>(p: u32) -> Vec4 {
|
2018-09-20 16:50:34 +08:00
|
|
|
unimplemented!()
|
|
|
|
}
|