mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-29 02:18:40 -06:00
kinda works
This commit is contained in:
parent
3e4e98eb49
commit
d21abc6b62
|
@ -201,16 +201,24 @@ impl UiDrawPlan {
|
||||||
}
|
}
|
||||||
//Fill in the rest
|
//Fill in the rest
|
||||||
//mental illness 2:
|
//mental illness 2:
|
||||||
// swapper.current_mut().indices.extend([
|
swapper.current_mut().indices.extend([
|
||||||
// //Top
|
//Top
|
||||||
// // vidx,
|
vidx,
|
||||||
// // vidx + 1 + (rounded_corner_verts - 1),
|
vidx + 1 + (rounded_corner_verts - 1),
|
||||||
// // vidx + 1,
|
vidx + 1,
|
||||||
// //Right?, i think
|
//Right?, i think
|
||||||
// vidx,
|
vidx,
|
||||||
// vidx + 1 + (rounded_corner_verts - 1) * 4 + 1,
|
vidx + 1 + (rounded_corner_verts - 1) * 4,
|
||||||
// vidx + 1 + 1,
|
vidx + 1 + (rounded_corner_verts - 1) * 4 + 1,
|
||||||
// ]);
|
//Left???
|
||||||
|
vidx,
|
||||||
|
vidx + 1 + (rounded_corner_verts - 1) * 4 + 2,
|
||||||
|
vidx + 1 + (rounded_corner_verts - 1) * 4 + 3,
|
||||||
|
//Bottom???
|
||||||
|
vidx,
|
||||||
|
vidx + 3,
|
||||||
|
vidx + 2,
|
||||||
|
]);
|
||||||
} else {
|
} else {
|
||||||
swapper.current_mut().indices.extend([vidx, vidx + 1, vidx + 2, vidx, vidx + 2, vidx + 3]);
|
swapper.current_mut().indices.extend([vidx, vidx + 1, vidx + 2, vidx, vidx + 2, vidx + 3]);
|
||||||
swapper.current_mut().vertices.extend([
|
swapper.current_mut().vertices.extend([
|
||||||
|
|
Loading…
Reference in a new issue