summaryrefslogtreecommitdiff
path: root/test/raytracer/config.h
blob: 49361dc5d837f237f17f48ef3990eac1dd75a4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <math.h>
#include <assert.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifdef SINGLE_PRECISION
typedef float flt;
#else
typedef double flt;
#endif

void arena_init(void);
void arena_clear(void);
void * arena_alloc(int size);