Sha256: 9cd84e4b9ac92802efbf68660fe720a38401b29fbcb4131e549e5682ee92ee48
Contents?: true
Size: 690 Bytes
Versions: 7
Compression:
Stored size: 690 Bytes
Contents
package org.jbox2d.particle; import org.jbox2d.common.Vec2; public class ParticleDef { /** * Specifies the type of particle. A particle may be more than one type. Multiple types are * chained by logical sums, for example: pd.flags = ParticleType.b2_elasticParticle | * ParticleType.b2_viscousParticle. */ int flags; /** The world position of the particle. */ public final Vec2 position = new Vec2(); /** The linear velocity of the particle in world co-ordinates. */ public final Vec2 velocity = new Vec2(); /** The color of the particle. */ public ParticleColor color; /** Use this to store application-specific body data. */ public Object userData; }
Version data entries
7 entries across 7 versions & 1 rubygems