Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::array<int ,3> arr; //fixed size array of 3
- struct Vec<T, size: i32>{
- data: [T, size];
- }
- type Vec3f = Vec::<f32, 3>;
- type Vec4f = Vec::<f32, 4>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement