+/*
+ * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ */
+
#ifndef BVH_H
#define BVH_H
#include "common.h"
#endif
}
+static void bh_free( bh_tree *bh )
+{
+ vg_free( bh->nodes );
+}
+
static void bh_debug_node( bh_tree *bh, u32 inode, v3f pos, u32 colour )
{
bh_node *node = &bh->nodes[ inode ];