Horizon
Loading...
Searching...
No Matches
src
canvas
fragment_cache.hpp
1
#pragma once
2
#include "common/common.hpp"
3
#include "util/uuid.hpp"
4
5
namespace
horizon {
6
7
class
FragmentCache
{
8
public
:
9
const
std::vector<std::array<Coordf, 3>> &get_triangles(
const
class
Plane
&plane);
10
11
private
:
12
class
CacheItem {
13
public
:
14
unsigned
int
revision = 32768;
// something not 0
15
std::vector<std::array<Coordf, 3>> triangles;
16
};
17
std::map<UUID, CacheItem> planes;
18
};
19
}
// namespace horizon
horizon::FragmentCache
Definition
fragment_cache.hpp:7
horizon::Plane
Definition
plane.hpp:54
Generated by
1.9.8