24 nvgTransformTranslate(t,
VEC_ARGS(delta));
30 nvgTransformRotate(t, angle);
42 nvgTransformScale(t, s.
x, s.
y);
#define VEC_ARGS(v)
Expands a Vec and Rect into a comma-separated list.
Definition math.hpp:541
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
2-dimensional vector of floats, representing a point on the plane for graphics.
Definition math.hpp:189
float x
Definition math.hpp:190
float y
Definition math.hpp:191
Vec neg() const
Negates the vector.
Definition math.hpp:206