UI Hello World

This commit is contained in:
YourWishes committed 2022-10-23 01:01:16 -07:00
1 parent 65e3bb43a5
commit bc74e6782b
25 files changed
+663 -41

No files matched your search

+11
View File
@@ -35,4 +35,15 @@ void QuadMesh::bufferQuadMeshWithZ(
verticeStart + 1, verticeStart + 2, verticeStart + 3
}}
);
}
void QuadMesh::bufferQuadMesh(
Mesh &mesh,
glm::vec2 xy0, glm::vec2 uv0,
glm::vec2 xy1, glm::vec2 uv1,
int32_t verticeStart, int32_t indiceStart
) {
QuadMesh::bufferQuadMeshWithZ(
mesh, xy0, uv0, xy1, uv1, 0, verticeStart, indiceStart
);
}