nalgebra/nalgebra-glm/src/packing.rs

52 lines
962 B
Rust
Raw Normal View History

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