This commit is contained in:
Quaternions 2023-09-08 17:14:24 -07:00
parent 86df619eb9
commit f92207863b

View File

@ -132,7 +132,7 @@ pub struct Model {
impl Model { impl Model {
pub fn new(transform:glam::Mat4) -> Self { pub fn new(transform:glam::Mat4) -> Self {
Self{transform} Self{transform}
} }
pub fn face_vertices(&self,face:Face) -> [glam::Vec3;4] { pub fn face_vertices(&self,face:Face) -> [glam::Vec3;4] {
Aabb::face_vertices(face) Aabb::face_vertices(face)