pub struct Hypercube<'a> { /* private fields */ }
Expand description
4D CLUT helper.
Represents hypercube.
Implementations§
Source§impl Hypercube<'_>
impl Hypercube<'_>
pub fn quadlinear_vec3( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector3f
pub fn quadlinear_vec4( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector4f
pub fn pyramid_vec3( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector3f
Available on crate feature
options
only.pub fn pyramid_vec4( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector4f
Available on crate feature
options
only.pub fn prism_vec3( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector3f
Available on crate feature
options
only.pub fn prism_vec4( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector4f
Available on crate feature
options
only.pub fn tetra_vec3( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector3f
Available on crate feature
options
only.pub fn tetra_vec4( &self, lin_x: f32, lin_y: f32, lin_z: f32, lin_w: f32, ) -> Vector4f
Available on crate feature
options
only.Auto Trait Implementations§
impl<'a> Freeze for Hypercube<'a>
impl<'a> RefUnwindSafe for Hypercube<'a>
impl<'a> Send for Hypercube<'a>
impl<'a> Sync for Hypercube<'a>
impl<'a> Unpin for Hypercube<'a>
impl<'a> UnwindSafe for Hypercube<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more