/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Dome.java | 59 private int radialSamples; field in Dome 85 public Dome(int planes, int radialSamples, float radius) { in Dome() argument 86 this(new Vector3f(0, 0, 0), planes, radialSamples, radius); in Dome() 106 public Dome(Vector3f center, int planes, int radialSamples, in Dome() argument 109 updateGeometry(center, planes, radialSamples, radius, true); in Dome() 133 public Dome(Vector3f center, int planes, int radialSamples, in Dome() argument 136 updateGeometry(center, planes, radialSamples, radius, insideView); in Dome() 154 return radialSamples; in getRadialSamples() 181 int radialSamples, float radius, boolean insideView) { in updateGeometry() argument 185 this.radialSamples = radialSamples; in updateGeometry() [all …]
|
D | Cylinder.java | 61 private int radialSamples; field in Cylinder 90 public Cylinder(int axisSamples, int radialSamples, in Cylinder() argument 92 this(axisSamples, radialSamples, radius, height, false); in Cylinder() 116 public Cylinder(int axisSamples, int radialSamples, in Cylinder() argument 118 this(axisSamples, radialSamples, radius, height, closed, false); in Cylinder() 145 public Cylinder(int axisSamples, int radialSamples, in Cylinder() argument 147 this(axisSamples, radialSamples, radius, radius, height, closed, inverted); in Cylinder() 150 public Cylinder(int axisSamples, int radialSamples, in Cylinder() argument 153 updateGeometry(axisSamples, radialSamples, radius, radius2, height, closed, inverted); in Cylinder() 174 return radialSamples; in getRadialSamples() [all …]
|
D | Sphere.java | 77 protected int radialSamples; field in Sphere 102 public Sphere(int zSamples, int radialSamples, float radius) { in Sphere() argument 103 this(zSamples, radialSamples, radius, false, false); in Sphere() 120 …public Sphere(int zSamples, int radialSamples, float radius, boolean useEvenSlices, boolean interi… in Sphere() argument 121 updateGeometry(zSamples, radialSamples, radius, useEvenSlices, interior); in Sphere() 125 return radialSamples; in getRadialSamples() 148 vertCount = (zSamples - 2) * (radialSamples + 1) + 2; in setGeometryData() 163 float fInvRS = 1.0f / radialSamples; in setGeometryData() 168 float[] afSin = new float[(radialSamples + 1)]; in setGeometryData() 169 float[] afCos = new float[(radialSamples + 1)]; in setGeometryData() [all …]
|
D | Torus.java | 61 private int radialSamples; field in Torus 83 public Torus(int circleSamples, int radialSamples, in Torus() argument 86 updateGeometry(circleSamples, radialSamples, innerRadius, outerRadius); in Torus() 102 return radialSamples; in getRadialSamples() 110 radialSamples = capsule.readInt("radialSamples", 0); in read() 117 int vertCount = (circleSamples + 1) * (radialSamples + 1); in setGeometryData() 131 float inverseRadialSamples = 1.0f / radialSamples; in setGeometryData() 146 for (int radialCount = 0; radialCount < radialSamples; radialCount++) { in setGeometryData() 174 for (int iR = 0; iR <= radialSamples; iR++, i++) { in setGeometryData() 184 int triCount = 2 * circleSamples * radialSamples; in setIndexData() [all …]
|
D | PQTorus.java | 61 private int steps, radialSamples; field in PQTorus 79 int steps, int radialSamples) { in PQTorus() argument 81 updateGeometry(p, q, radius, width, steps, radialSamples); in PQTorus() 93 return radialSamples; in getRadialSamples() 116 radialSamples = capsule.readInt("radialSamples", 0); in read() 129 …ic void updateGeometry(float p, float q, float radius, float width, int steps, int radialSamples) { in updateGeometry() argument 135 this.radialSamples = radialSamples; in updateGeometry() 138 final float betaStep = (FastMath.TWO_PI / radialSamples); in updateGeometry() 142 int vertCount = radialSamples * steps; in updateGeometry() 182 for (int j = 0; j < radialSamples; j++, nvertex++) { in updateGeometry() [all …]
|