sneak into stack

This commit is contained in:
Quaternions 2024-02-12 18:54:54 -08:00
parent 7a6b494358
commit da9fa7c51c

View File

@ -288,7 +288,7 @@ pub fn generate_partial_unit_cube(face_descriptions:CubeFaceDescription)->Mesh{
} }
//don't think too hard about the copy paste because this is all going into the map tool eventually... //don't think too hard about the copy paste because this is all going into the map tool eventually...
pub fn generate_partial_unit_wedge(face_descriptions:WedgeFaceDescription)->Mesh{ pub fn generate_partial_unit_wedge(face_descriptions:WedgeFaceDescription)->Mesh{
let wedge_default_polys=vec![ let wedge_default_polys=[
// right (1, 0, 0) // right (1, 0, 0)
vec![ vec![
[6,2,0],//[vertex,tex,norm] [6,2,0],//[vertex,tex,norm]
@ -401,7 +401,7 @@ pub fn generate_partial_unit_wedge(face_descriptions:WedgeFaceDescription)->Mesh
} }
pub fn generate_partial_unit_cornerwedge(face_descriptions:CornerWedgeFaceDescription)->Mesh{ pub fn generate_partial_unit_cornerwedge(face_descriptions:CornerWedgeFaceDescription)->Mesh{
let cornerwedge_default_polys=vec![ let cornerwedge_default_polys=[
// right (1, 0, 0) // right (1, 0, 0)
vec![ vec![
[6,2,0],//[vertex,tex,norm] [6,2,0],//[vertex,tex,norm]