Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
n_aabb.h File Reference

AABB3D module headers. More...

#include "nilorea/n_common.h"
#include "nilorea/n_str.h"
#include "nilorea/n_log.h"
+ Include dependency graph for n_aabb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AABB3D
 Axis-Aligned Bounding Box (AABB) algorithm. More...
 

Typedefs

typedef double AABB_VALUE
 type of a AABB componant
 

Functions

AABB3D createAABB3D (AABB_VALUE xMin, AABB_VALUE yMin, AABB_VALUE zMin, AABB_VALUE xMax, AABB_VALUE yMax, AABB_VALUE zMax)
 create a new AABB3D box
 
bool doAABB3DsIntersect (AABB3D box1, AABB3D box2)
 check if two 3D AABBs intersect
 
bool isPointInsideAABB3D (AABB3D box, AABB_VALUE x, AABB_VALUE y, AABB_VALUE z)
 check if a point is inside a 3D AABB
 

Detailed Description

AABB3D module headers.

Author
Castagnier Mickael
Version
1.0
Date
07/08/2024

Definition in file n_aabb.h.