Sha256: 7d74ea666b7bc219c1eb0a322815707c9e702bb1fe458075a163007c32b7898f
Contents?: true
Size: 812 Bytes
Versions: 9
Compression:
Stored size: 812 Bytes
Contents
package processing.box2d; /** * * @author Martin Prout */ public class Step { /** * time of step typically set to once per draw loop */ public float timeStep; /** * No of velocity iterations */ public int velIters; /** * No of position iterations */ public int posIters; /** * * @param timeStep float * @param velIterations int * @param posIterations int */ public Step(float timeStep, int velIterations, int posIterations) { this.timeStep = timeStep; this.velIters = velIterations; this.posIters = posIterations; } /** * Step constructor with defaults */ public Step() { this.timeStep = 1.0f / 60; this.velIters = 8; this.posIters = 10; } }
Version data entries
9 entries across 9 versions & 1 rubygems