Move ARR_LEN macro to misc_utils

This commit is contained in:
2024-06-22 20:41:23 +01:00
parent 9f4137dac9
commit 5908cf3063
3 changed files with 27 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
#include "scene/scene.h"
#include "c_cpp_aliases/aliases.h"
#define ARR_LEN(ARR) sizeof(ARR) / sizeof(ARR[0])
#include "misc/misc_utils.h"
internal const sphere_t spheres[] = {
(sphere_t){