| 1 |
– |
/* Copyright (c) 1997 Silicon Graphics, Inc. */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ SGI"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 7 |
– |
#include "random.h" |
| 8 |
– |
|
| 4 |
|
/* |
| 5 |
|
* Binary space partitioning curve for multidimensional sampling. |
| 6 |
|
* |
| 7 |
|
* Written by Christophe Schlick |
| 8 |
|
*/ |
| 9 |
|
|
| 10 |
+ |
#include "copyright.h" |
| 11 |
+ |
|
| 12 |
+ |
#include "random.h" |
| 13 |
+ |
|
| 14 |
+ |
void |
| 15 |
|
multisamp(t, n, r) /* convert 1-dimensional sample to N dimensions */ |
| 16 |
|
double t[]; /* returned N-dimensional vector */ |
| 17 |
|
register int n; /* number of dimensions */ |