wgsl_types/types/mat4x3.rs
1use crate::prelude::*;
2use bytes_kman::prelude::*;
3
4#[derive(Bytes)]
5pub struct mat4x3<T>(pub vec4<T>, pub vec4<T>, pub vec4<T>);
6
7impl<T: TBytes + Clone> Clone for mat4x3<T> {
8 fn clone(&self) -> Self {
9 Self(self.0.clone(), self.1.clone(), self.2.clone())
10 }
11}
12
13impl<T: TBytes + Copy> Copy for mat4x3<T> {}