Flutter Engine
The Flutter Engine
|
#include "include/core/SkTypes.h"
#include "include/private/base/SkFloatingPoint.h"
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | TimeUtils |
Functions | |
static SkMSec | TimeUtils::NanosToMSec (double nanos) |
static double | TimeUtils::NanosToSeconds (double nanos) |
static float | TimeUtils::Scaled (float time, float speed, float period=0) |
static float | TimeUtils::PingPong (double time, float period, float phase, float ends, float mid) |
static float | TimeUtils::SineWave (double time, float periodInSecs, float phaseInSecs, float min, float max) |