summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe-meshes.hpp
blob: cc8898f391f0daeba96ac03ea97c0a76797a7cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include "wireframe.hpp"
#include "compat/defs.hpp"
#include "box.hpp"
#include "quad-floor.hpp"
#include "quad-wall-n.hpp"
#include "quad-wall-w.hpp"
#include "quad.hpp"
#include <Magnum/GL/Texture.h>

namespace floormat::wireframe {

struct meshes final
{
    fm_DECLARE_DELETED_COPY_ASSIGNMENT(meshes);
    fm_DECLARE_DELETED_MOVE_ASSIGNMENT(meshes);

    meshes();

    GL::Texture2D _wireframe_texture;
    wireframe_mesh<struct wireframe::quad_floor>  quad;
    wireframe_mesh<struct wireframe::quad_wall_n> wall_n;
    wireframe_mesh<struct wireframe::quad_wall_w> wall_w;
    wireframe_mesh<struct wireframe::box>         box;
    wireframe_mesh<struct wireframe::quad>        rect;
};

} // namespace floormat::wireframe