aboutsummaryrefslogtreecommitdiff
path: root/include/Triangle.hpp
blob: 393c45a96a4bd3c395b1e08438049cffbee941f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "Vertex.hpp"

namespace amalgine {
    class Triangle2D {
    public:
        Vertex2D p1;
        Vertex2D p2;
        Vertex2D p3;
    };

    class Triangle3D {
    public:
        Vertex3D p1;
        Vertex3D p2;
        Vertex3D p3;
    };
}