vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::Math::Curve Struct Reference

A value over a span from 0 to 1 - a particle's life, say - straight between its keys. More...

#include <curve.h>

Public Member Functions

float at (float t) const
 The value at t.

Detailed Description

A value over a span from 0 to 1 - a particle's life, say - straight between its keys.

None reads 1; one reads its value throughout; before the first key and after the last the end value holds.

Member Function Documentation

◆ at()

float Vkm::Engine::Math::Curve::at ( float t) const
inline

The value at t.

Parameters
tWhere in the span, 0 to 1.
Returns
The value there.

The documentation for this struct was generated from the following file: