1 |
+ |
#ifndef lint |
2 |
+ |
static const char RCSid[] = "$Id$"; |
3 |
+ |
#endif |
4 |
+ |
|
5 |
+ |
|
6 |
|
/* |
7 |
|
========================================================================= |
8 |
|
Routines to generate and compare Morton Codes, i.e. indices on space |
17 |
|
*/ |
18 |
|
|
19 |
|
|
20 |
+ |
#if !defined(_WIN32) && !defined(_WIN64) || defined(PMAP_OOC) |
21 |
+ |
/* No Windoze support for now */ |
22 |
|
|
23 |
|
#include "oocmorton.h" |
24 |
|
|
40 |
|
return OOC_BitInterleave(k [0]) | OOC_BitInterleave(k [1]) << 1 | |
41 |
|
OOC_BitInterleave(k [2]) << 2; |
42 |
|
} |
43 |
+ |
|
44 |
+ |
#endif /* NIX / PMAP_OOC */ |