vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
probe_fill.h
1#pragma once
2
3#include <cstdint>
4#include <utility>
5#include <vector>
6
7namespace Vkm::Engine {
8
12struct ProbeFill {
13 uint32_t cell;
14
16 std::vector<std::pair<uint32_t, float>> sources;
17};
18
35std::vector<ProbeFill> probeFillWeights(const std::vector<bool>& trusted, uint32_t x, uint32_t y, uint32_t z);
36
37} // namespace Vkm::Engine
How one refused probe is repaired: a blend of trusted probes.
Definition probe_fill.h:12
std::vector< std::pair< uint32_t, float > > sources
The trusted probes it blends, X fastest, and their weights, which sum to one.
Definition probe_fill.h:16
uint32_t cell
The refused probe, X fastest.
Definition probe_fill.h:13