PolyVox  0.2.1
Open source voxel management library
Namespaces | Functions
Interpolation.h File Reference
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  PolyVox
 Main namespace.

Functions

template<typename Type >
Type PolyVox::lerp (const Type &v0, const Type &v1, const float x)
template<typename Type >
Type PolyVox::bilerp (const Type &v00, const Type &v10, const Type &v01, const Type &v11, const float x, const float y)
template<typename Type >
Type PolyVox::trilerp (const Type &v000, const Type &v100, const Type &v010, const Type &v110, const Type &v001, const Type &v101, const Type &v011, const Type &v111, const float x, const float y, const float z)