src/triangulate.h@9727e545b0bc
src/triangulate.h
Sun, 03 Jul 2022 13:44:11 +0300
- author
- Teemu Piippo <teemu.s.piippo@gmail.com>
- date
- Sun, 03 Jul 2022 13:44:11 +0300
- changeset 319
- 9727e545b0bc
- child 320
-
af6633412a6c
- permissions
- -rw-r--r--
Extract the triangulation and triangle merging code into a new source file and clean it up somewhat
#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,
const glm::mat4& planeMatrix);