Lines Matching refs:radius
45 private float radius;
50 public EmitterSphereShape(Vector3f center, float radius) {
55 if (radius <= 0) {
56 throw new IllegalArgumentException("Radius must be greater than 0");
60 this.radius = radius;
77 store.x = (FastMath.nextRandomFloat() * 2f - 1f) * radius;
78 store.y = (FastMath.nextRandomFloat() * 2f - 1f) * radius;
79 store.z = (FastMath.nextRandomFloat() * 2f - 1f) * radius;
80 } while (store.distance(center) > radius);
97 return radius;
100 public void setRadius(float radius) {
101 this.radius = radius;
108 oc.write(radius, "radius", 0);
115 radius = ic.readFloat("radius", 0);