nCine::VelocityAffector::VelocityStep struct

A velocity offset keyed to a normalized particle age.

Constructors, destructors, conversion operators

VelocityStep()
VelocityStep(float newAge, float newVelocityX, float newVelocityY)

Public variables

float age
Normalized particle age at which the offset applies.
Vector2f velocity
Velocity offset reached at this age.