ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/oocmorton.c
(Generate patch)

Comparing ray/src/rt/oocmorton.c (file contents):
Revision 2.1 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.2 by rschregle, Mon Aug 14 21:12:10 2017 UTC

# Line 1 | Line 1
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
# Line 12 | Line 17
17   */
18  
19  
20 + #if !defined(_WIN32) && !defined(_WIN64) || defined(PMAP_OOC)
21 + /* No Windoze support for now */
22  
23   #include "oocmorton.h"
24  
# Line 33 | Line 40 | OOC_MortonIdx OOC_Key2Morton (const FVECT key, const F
40     return OOC_BitInterleave(k [0]) | OOC_BitInterleave(k [1]) << 1 |
41            OOC_BitInterleave(k [2]) << 2;
42   }
43 +
44 + #endif /* NIX / PMAP_OOC */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines