#include "../CNanoVDB.h"
#include <math.h>
Go to the source code of this file.
|
void | cnanovdb_coord_round (cnanovdb_coord *RESTRICT coord, const cnanovdb_Vec3F *RESTRICT xyz) |
|
void | cnanovdb_coord_fract (cnanovdb_coord *RESTRICT coord, cnanovdb_Vec3F *RESTRICT fraction, const cnanovdb_Vec3F *RESTRICT xyz) |
|
cnanovdb_Vec3F | cnanovdb_lerpF3 (cnanovdb_Vec3F a, cnanovdb_Vec3F b, float w) |
|
void | cnanovdb_sampleF_gradient (cnanovdb_Vec3F *RESTRICT ret, cnanovdb_readaccessor *RESTRICT acc, const cnanovdb_Vec3F *RESTRICT xyz) |
|
void | cnanovdb_sampleF_gradient0 (cnanovdb_Vec3F *RESTRICT ret, cnanovdb_readaccessor *RESTRICT acc, const cnanovdb_Vec3F *RESTRICT xyz) |
|
void | cnanovdb_sampleF_gradient0_stencil (cnanovdb_Vec3F *RESTRICT ret, cnanovdb_stencil1F *RESTRICT stencil, cnanovdb_readaccessor *RESTRICT acc, const cnanovdb_Vec3F *RESTRICT xyz) |
|
#define CREATE_LERPSIMPLE |
( |
|
VALUETYPE, |
|
|
|
SUFFIX |
|
) |
| |
Value:VALUETYPE \
cnanovdb_lerp##SUFFIX(VALUETYPE
a, VALUETYPE
b,
float w) \
{ \
return
a +
w * (
b -
a); \
} \
GLboolean GLboolean GLboolean GLboolean a
GLboolean GLboolean GLboolean b
GLubyte GLubyte GLubyte GLubyte w
Definition at line 115 of file CSampleFromVoxels.h.
#define CREATE_SAMPLE |
( |
|
VALUETYPE, |
|
|
|
SUFFIX |
|
) |
| |
#define CREATE_STENCIL |
( |
|
VALUETYPE, |
|
|
|
SUFFIX |
|
) |
| |