Files
Cesarus85--ringfall-mjolnir-vr/source/physics/bsp2d.h
T
2026-07-14 14:15:00 -07:00

42 lines
595 B
C

/*
BSP2D.H
header included in hcex build.
*/
#ifndef __BSP2D_H
#define __BSP2D_H
#pragma once
/* ---------- headers */
#include "math/real_math.h"
#include "tag_files/tag_groups.h"
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
struct bsp2d_node
{
real_plane2d plane;
long child_indices[2];
};
struct bsp2d
{
struct tag_block nodes;
};
/* ---------- prototypes/EXAMPLE.C */
/* ---------- globals */
/* ---------- public code */
long bsp2d_test_point(struct tag_block const *nodes, real_point2d const *point, long node_index);
#endif // __BSP2D_H