penrose

program for generating penrose tilings.
Log | Files | Refs | README | LICENSE

commit dfce790fe90106df6d927e9daaedc46c9cf01d95
parent 57c165fcda89c41b38f6357f4c24077f66186ce1
Author: mpizzzle <m@michaelpercival.xyz>
Date:   Wed, 21 Oct 2020 21:52:02 +0100

class -> struct for now

Diffstat:
Mpenrose.cpp | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/penrose.cpp b/penrose.cpp @@ -18,8 +18,7 @@ static const glm::vec3 primary(0.7f, 0.7f, 0.0f); static const GLfloat phi = 1.0 / ((1.0 + sqrt(5.0)) / 2); -class triangle { -public: +struct triangle { bool t_123; std::array<uint32_t, 3> indices; std::array<glm::vec2, 3> points;