Blender V5.0
btSparseSDF.h File Reference

Go to the source code of this file.

Classes

struct  btSparseSdf< CELLSIZE >
struct  btSparseSdf< CELLSIZE >::IntFrac
struct  btSparseSdf< CELLSIZE >::Cell

Macros

#define get16bits(d)
 btSparseSdf implementation by Nathanael Presson

Functions

unsigned int HsiehHash (const char *data, int len)

Macro Definition Documentation

◆ get16bits

#define get16bits ( d)
Value:
((((unsigned int)(((const unsigned char*)(d))[1])) << 8) + (unsigned int)(((const unsigned char*)(d))[0]))

btSparseSdf implementation by Nathanael Presson

Definition at line 26 of file btSparseSDF.h.

Referenced by HsiehHash().

Function Documentation

◆ HsiehHash()

unsigned int HsiehHash ( const char * data,
int len )
inline

Definition at line 31 of file btSparseSDF.h.

References data, get16bits, hash, and len.

Referenced by btSparseSdf< CELLSIZE >::Hash().