Tabnine Logo
ParticleSystem.getParticleRadius
Code IndexAdd Tabnine to your IDE (free)

How to use
getParticleRadius
method
in
org.jbox2d.particle.ParticleSystem

Best Java code snippets using org.jbox2d.particle.ParticleSystem.getParticleRadius (Showing top 8 results out of 315)

origin: libgdx/libgdx

/**
 * Get the particle radius.
 * 
 * @return
 */
public float getParticleRadius() {
 return m_particleSystem.getParticleRadius();
}
origin: libgdx/libgdx

private void drawParticleSystem(ParticleSystem system) {
 boolean wireframe = (m_debugDraw.getFlags() & DebugDraw.e_wireframeDrawingBit) != 0;
 int particleCount = system.getParticleCount();
 if (particleCount != 0) {
  float particleRadius = system.getParticleRadius();
  Vec2[] positionBuffer = system.getParticlePositionBuffer();
  ParticleColor[] colorBuffer = null;
  if (system.m_colorBuffer.data != null) {
   colorBuffer = system.getParticleColorBuffer();
  }
  if (wireframe) {
   m_debugDraw.drawParticlesWireframe(positionBuffer, particleRadius, colorBuffer,
     particleCount);
  } else {
   m_debugDraw.drawParticles(positionBuffer, particleRadius, colorBuffer, particleCount);
  }
 }
}
origin: jbox2d/jbox2d

/**
 * Get the particle radius.
 * 
 * @return
 */
public float getParticleRadius() {
 return m_particleSystem.getParticleRadius();
}
origin: jbox2d/jbox2d

private void drawParticleSystem(ParticleSystem system) {
 boolean wireframe = (m_debugDraw.getFlags() & DebugDraw.e_wireframeDrawingBit) != 0;
 int particleCount = system.getParticleCount();
 if (particleCount != 0) {
  float particleRadius = system.getParticleRadius();
  Vec2[] positionBuffer = system.getParticlePositionBuffer();
  ParticleColor[] colorBuffer = null;
  if (system.m_colorBuffer.data != null) {
   colorBuffer = system.getParticleColorBuffer();
  }
  if (wireframe) {
   m_debugDraw.drawParticlesWireframe(positionBuffer, particleRadius, colorBuffer,
     particleCount);
  } else {
   m_debugDraw.drawParticles(positionBuffer, particleRadius, colorBuffer, particleCount);
  }
 }
}
origin: com.github.almasb/fxgl-physics

/**
 * @return the particle radius
 */
public float getParticleRadius() {
  return particleSystem.getParticleRadius();
}
origin: andmizi/MobikeTags

/**
 * Get the particle radius.
 * 
 * @return
 */
public float getParticleRadius() {
 return m_particleSystem.getParticleRadius();
}
origin: com.github.almasb/fxgl-physics

  private void drawParticleSystem(ParticleSystem system) {
    boolean wireframe = (debugDraw.getFlags() & DebugDraw.e_wireframeDrawingBit) != 0;
    int particleCount = system.getParticleCount();
    if (particleCount != 0) {
      float particleRadius = system.getParticleRadius();
      Vec2[] positionBuffer = system.getParticlePositionBuffer();
      ParticleColor[] colorBuffer = null;
      if (system.m_colorBuffer.data != null) {
        colorBuffer = system.getParticleColorBuffer();
      }
      if (wireframe) {
        debugDraw.drawParticlesWireframe(positionBuffer, particleRadius, colorBuffer,
            particleCount);
      } else {
        debugDraw.drawParticles(positionBuffer, particleRadius, colorBuffer, particleCount);
      }
    }
  }
}
origin: andmizi/MobikeTags

private void drawParticleSystem(ParticleSystem system) {
 boolean wireframe = (m_debugDraw.getFlags() & DebugDraw.e_wireframeDrawingBit) != 0;
 int particleCount = system.getParticleCount();
 if (particleCount != 0) {
  float particleRadius = system.getParticleRadius();
  Vec2[] positionBuffer = system.getParticlePositionBuffer();
  ParticleColor[] colorBuffer = null;
  if (system.m_colorBuffer.data != null) {
   colorBuffer = system.getParticleColorBuffer();
  }
  if (wireframe) {
   m_debugDraw.drawParticlesWireframe(positionBuffer, particleRadius, colorBuffer,
     particleCount);
  } else {
   m_debugDraw.drawParticles(positionBuffer, particleRadius, colorBuffer, particleCount);
  }
 }
}
org.jbox2d.particleParticleSystemgetParticleRadius

Popular methods of ParticleSystem

  • <init>
  • RotateBuffer
  • addContact
  • computeDepthForGroup
  • computeParticleCollisionEnergy
  • computeRelativeTag
  • computeTag
  • createParticle
  • createParticleGroup
  • destroyParticle
  • destroyParticleGroup
  • destroyParticlesInGroup
  • destroyParticleGroup,
  • destroyParticlesInGroup,
  • destroyParticlesInShape,
  • getCriticalPressure,
  • getCriticalVelocity,
  • getCriticalVelocitySquared,
  • getParticleColorBuffer,
  • getParticleCount,
  • getParticleDamping,
  • getParticleDensity

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onRequestPermissionsResult (Fragment)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Menu (java.awt)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Join (org.hibernate.mapping)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now