Gnash
0.8.11dev
|
#include <cassert>
#include <cmath>
#include <algorithm>
#include <cstdint>
#include <limits>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
gnash | |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
Functions | |
bool | gnash::isFinite (double d) |
template<typename T > | |
bool | gnash::isNaN (const T &num) |
double | gnash::infinite_to_zero (double x) |
template<typename T > | |
T | gnash::clamp (T i, T min, T max) |
template<typename T > | |
T | gnash::lerp (T a, T b, T f) |
int | gnash::frnd (float f) |
double | gnash::twipsToPixels (int i) |
template<size_t Factor> | |
std::int32_t | gnash::truncateWithFactor (double a) |
std::int32_t | gnash::pixelsToTwips (double a) |