Searched refs:maxStep (Results 1 – 1 of 1) sorted by relevance
109 float adjDelta(float cur, float minStep, float maxStep) { in adjDelta() argument113 if (cur > maxStep) cur = maxStep; in adjDelta()114 if (cur < -maxStep) cur = -maxStep; in adjDelta()118 void step(int width, int height, float minStep, float maxStep) { in step() argument123 dx = adjDelta(-dx, minStep, maxStep); in step()129 dy = adjDelta(-dy, minStep, maxStep); in step()