/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Dome.java | 59 private int radialSamples; 78 * @param radialSamples 85 public Dome(int planes, int radialSamples, float radius) { 86 this(new Vector3f(0, 0, 0), planes, radialSamples, radius); 92 * For a cone, set planes=2. For a pyramid, set radialSamples=4 and planes=2. 93 * Increasing planes and radialSamples increase the quality of the dome. 100 * @param radialSamples 106 public Dome(Vector3f center, int planes, int radialSamples, 109 updateGeometry(center, planes, radialSamples, radius, true); 115 * For a cone, set planes=2. For a pyramid, set radialSamples=4 and planes=2 [all...] |
Cylinder.java | 61 private int radialSamples;
83 * @param radialSamples
90 public Cylinder(int axisSamples, int radialSamples,
92 this(axisSamples, radialSamples, radius, height, false);
107 * @param radialSamples
116 public Cylinder(int axisSamples, int radialSamples,
118 this(axisSamples, radialSamples, radius, height, closed, false);
133 * @param radialSamples
145 public Cylinder(int axisSamples, int radialSamples,
147 this(axisSamples, radialSamples, radius, radius, height, closed, inverted); [all...] |
PQTorus.java | 61 private int steps, radialSamples; 69 * Steps and radialSamples are both degree of accuracy values. 76 * @param radialSamples radial samples for the torus. 79 int steps, int radialSamples) { 81 updateGeometry(p, q, radius, width, steps, radialSamples); 93 return radialSamples; 116 radialSamples = capsule.readInt("radialSamples", 0); 127 * @param radialSamples radial samples for the torus. 129 public void updateGeometry(float p, float q, float radius, float width, int steps, int radialSamples) { [all...] |
Torus.java | 61 private int radialSamples; 76 * @param radialSamples 83 public Torus(int circleSamples, int radialSamples, 86 updateGeometry(circleSamples, radialSamples, innerRadius, outerRadius); 102 return radialSamples; 110 radialSamples = capsule.readInt("radialSamples", 0); 117 int vertCount = (circleSamples + 1) * (radialSamples + 1); 131 float inverseRadialSamples = 1.0f / radialSamples; 146 for (int radialCount = 0; radialCount < radialSamples; radialCount++) [all...] |
Sphere.java | 77 protected int radialSamples;
92 * Both zSamples and radialSamples increase the quality of the generated
97 * @param radialSamples
102 public Sphere(int zSamples, int radialSamples, float radius) {
103 this(zSamples, radialSamples, radius, false, false);
111 * @param radialSamples
120 public Sphere(int zSamples, int radialSamples, float radius, boolean useEvenSlices, boolean interior) {
121 updateGeometry(zSamples, radialSamples, radius, useEvenSlices, interior);
125 return radialSamples;
148 vertCount = (zSamples - 2) * (radialSamples + 1) + 2; [all...] |