#include "Geo.h"
#include <vector>
Namespaces | |
namespace | GEO |
Functions | |
template<typename T> | |
T | GEO::Lerp (const T &e0, const T &e1, float w) |
interpolates between two entities, with w as the interpolator between 0 and 1 | |
template<typename T> | |
T | GEO::Bilerp (const T &e00, const T &e10, const T &e01, const T &e11, float x, float y) |
bilinearly interpolates between four entities (with x and y from 0 to 1) |