Euphoria
aabb.cc File Reference
#include "base/aabb.h"
#include "assert/assert.h"
#include "base/numeric.h"
#include "base/range.h"
#include "base/random.h"

Go to the source code of this file.

Namespaces

 eu
 

Macros

#define COMP(C)    const auto C = ::eu::wrap(make_range(min.C, max.C), vec.C)
 
#define M(var)   min.var <= max.var
 

Functions

std::string eu::to_string (const Aabb &a)
 
vec3f eu::get_random_point (Random *rand, const Aabb &a)
 

Macro Definition Documentation

◆ COMP

#define COMP (   C)     const auto C = ::eu::wrap(make_range(min.C, max.C), vec.C)

◆ M

#define M (   var)    min.var <= max.var