Initial commit

This commit is contained in:
Pascal Engélibert 2025-07-26 22:14:37 +02:00
commit 7cdac8ded9
45 changed files with 7275 additions and 0 deletions

27
BlueNoise/RangeList.h Normal file
View file

@ -0,0 +1,27 @@
// $Id: RangeList.h,v 1.3 2006/01/12 16:39:19 zr Exp $
#include <vector>
typedef struct _RangeEntry {
float min, max;
} RangeEntry;
class RangeList {
public:
RangeEntry *ranges;
int numRanges, rangesSize;
public:
RangeList(float min, float max);
~RangeList();
void reset(float min, float max);
void print();
void subtract(float min, float max);
private:
void deleteRange(int pos);
void insertRange(int pos, float min, float max);
};