src/triangulate.h@e1d646a4cbd8
src/triangulate.h
Sun, 09 Apr 2023 15:59:08 +0300
- author
- Teemu Piippo <teemu.s.piippo@gmail.com>
- date
- Sun, 09 Apr 2023 15:59:08 +0300
- changeset 362
- e1d646a4cbd8
- parent 320
-
af6633412a6c
- permissions
- -rw-r--r--
Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.
I was planning to make the core logic and state of the program into a Main class, which would be a QObject that would
have lots of signals and slots, but it looks like this works even without it
#pragma once
#include "src/basics.h"
#include "src/model.h"
std::vector<PlainPolygonElement> polygonize(
std::vector<glm::vec3>::const_iterator begin,
std::vector<glm::vec3>::const_iterator end);