Sha256: 9da0cc6c2d3d86ef7c301d4be9fcfac0decbbdcc4e5cbf628d3c7d62d80383e2
Contents?: true
Size: 507 Bytes
Versions: 7
Compression:
Stored size: 507 Bytes
Contents
package org.jbox2d.particle; import org.jbox2d.common.Vec2; import org.jbox2d.dynamics.Body; public class ParticleBodyContact { /** Index of the particle making contact. */ public int index; /** The body making contact. */ public Body body; /** Weight of the contact. A value between 0.0f and 1.0f. */ float weight; /** The normalized direction from the particle to the body. */ public final Vec2 normal = new Vec2(); /** The effective mass used in calculating force. */ float mass; }
Version data entries
7 entries across 7 versions & 1 rubygems