main
Brett 2024-03-23 19:41:03 -04:00
parent 298c640d03
commit 9539efbb90
4 changed files with 3 additions and 22 deletions

View File

@ -30,7 +30,7 @@
#include <config.h> #include <config.h>
using image_data_t = std::array<blt::vec3, width * height>; using image_data_t = std::array<blt::vec3, width * height>;
inline blt::area_allocator<image_data_t, 32> img_allocator; inline blt::bump_allocator<image_data_t> img_allocator(8192);
class image class image
{ {

@ -1 +1 @@
Subproject commit 129f6e3fb9d6524e9fd6ece47f9bf4ea6f0a1a83 Subproject commit d8b77acd4f6d71393e65539e3ad738aebb3375e1

View File

@ -23,7 +23,7 @@
#include <queue> #include <queue>
#include <stack> #include <stack>
blt::area_allocator<node, 32000> node_allocator; blt::bump_allocator<node> node_allocator(32000);
node* createNode(function_t type) node* createNode(function_t type)
{ {

View File

@ -417,25 +417,6 @@ void print_bits(float f)
std::cout << std::endl; std::cout << std::endl;
} }
enum class error
{
S1, S2, S3
};
struct simple
{
float f;
};
blt::expected<float, error> t1(bool b)
{
float f = 50.0f * b;
if (b)
return f;
else
return error::S1;
}
void init() void init()
{ {
global_matrices.create_internals(); global_matrices.create_internals();