Home
last modified time | relevance | path

Searched refs:sphere (Results 1 – 25 of 29) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingSphere.java386 BoundingSphere sphere; in transform() local
388 sphere = new BoundingSphere(1, new Vector3f(0, 0, 0)); in transform()
390 sphere = (BoundingSphere) store; in transform()
393 center.mult(trans.getScale(), sphere.center); in transform()
394 trans.getRotation().mult(sphere.center, sphere.center); in transform()
395 sphere.center.addLocal(trans.getTranslation()); in transform()
396 sphere.radius = FastMath.abs(getMaxAxis(trans.getScale()) * radius) + RADIUS_EPSILON - 1f; in transform()
397 return sphere; in transform()
401 BoundingSphere sphere; in transform() local
403 sphere = new BoundingSphere(1, new Vector3f(0, 0, 0)); in transform()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/texture/
DTestTexture3D.java40 Sphere sphere = new Sphere(32, 32, 1); in simpleInitApp() local
42 sphere.updateBound(); in simpleInitApp()
43 BoundingBox bb = (BoundingBox) sphere.getBound(); in simpleInitApp()
47 sphere.clearBuffer(Type.TexCoord); in simpleInitApp()
48 VertexBuffer vb = sphere.getBuffer(Type.Position); in simpleInitApp()
61 sphere.setBuffer(uvCoordsBuffer); in simpleInitApp()
63 Geometry g = new Geometry("sphere", sphere); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
DTestSphere.java55 Geometry sphere = new Geometry("sphere", sphMesh); in simpleInitApp() local
56 sphere.setMaterial(solidColor); in simpleInitApp()
57 sphere.setLocalTranslation(x * 2, 0, y * 2); in simpleInitApp()
58 rootNode.attachChild(sphere); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/stress/
DTestLeakingGL.java83 Geometry sphere = new Geometry("sphere", sphMesh); in simpleUpdate() local
85 sphere.setMaterial(solidColor); in simpleUpdate()
86 sphere.setLocalTranslation(x * 1.5f, 0, y * 1.5f); in simpleUpdate()
87 rootNode.attachChild(sphere); in simpleUpdate()
/external/jmonkeyengine/engine/src/test/jme3test/material/
DTestSimpleBumps.java63 Geometry sphere = new Geometry("Rock Ball", quadMesh); in simpleInitApp() local
65 sphere.setMaterial(mat); in simpleInitApp()
66 TangentBinormalGenerator.generate(sphere); in simpleInitApp()
67 rootNode.attachChild(sphere); in simpleInitApp()
DTestUnshadedModel.java27 Geometry sphere = new Geometry("Rock Ball", sphMesh); in simpleInitApp() local
32 sphere.setMaterial(mat); in simpleInitApp()
33 rootNode.attachChild(sphere); in simpleInitApp()
DTestNormalMapping.java64 Geometry sphere = new Geometry("Rock Ball", sphMesh); in simpleInitApp() local
66 sphere.setMaterial(mat); in simpleInitApp()
67 rootNode.attachChild(sphere); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsTestHelper.java72 Sphere sphere = new Sphere(8, 8, 1); in createPhysicsTestWorld() local
73 Geometry sphereGeometry = new Geometry("Sphere", sphere); in createPhysicsTestWorld()
76 sphereGeometry.addControl(new RigidBodyControl(new MeshCollisionShape(sphere), 0)); in createPhysicsTestWorld()
103 Sphere sphere = new Sphere(16, 16, .5f); in createPhysicsTestWorldSoccer() local
104 Geometry ballGeometry = new Geometry("Soccer ball", sphere); in createPhysicsTestWorldSoccer()
149 Sphere sphere = new Sphere(8, 8, 0.25f); in createPhysicsTestSphere() local
150 Geometry boxGeometry = new Geometry("Sphere", sphere); in createPhysicsTestSphere()
/external/jmonkeyengine/engine/src/android/jme3test/android/
DTestUnshadedModel.java27 Geometry sphere = new Geometry("Rock Ball", sphMesh); in simpleInitApp() local
32 sphere.setMaterial(mat); in simpleInitApp()
33 rootNode.attachChild(sphere); in simpleInitApp()
DTestNormalMapping.java66 Geometry sphere = new Geometry("Rock Ball", sphMesh); in simpleInitApp() local
68 sphere.setMaterial(mat); in simpleInitApp()
69 rootNode.attachChild(sphere); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestFBOPassthrough.java80 Geometry sphere = new Geometry("sphere", sphMesh); in simpleInitApp() local
81 sphere.setMaterial(solidColor); in simpleInitApp()
82 fbNode.attachChild(sphere); in simpleInitApp()
DTestMultiRenderTarget.java54 private Geometry sphere; field in TestMultiRenderTarget
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloPhysics.java76 private static final Sphere sphere; field in HelloPhysics
87 sphere = new Sphere(32, 32, 0.4f, true, false);
88 sphere.setTextureMode(TextureMode.Projected);
202 Geometry ball_geo = new Geometry("cannon ball", sphere); in makeCannonBall()
DHelloPicking.java148 Sphere sphere = new Sphere(30, 30, 0.2f); in initMark() local
149 mark = new Geometry("BOOM!", sphere); in initMark()
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestCollision.java158 Geometry sphere = new Geometry("cannonball", new Sphere(10, 10, r)); in simpleInitApp() local
159 sphere.setMaterial(matWire); in simpleInitApp()
163 sphere.setLocalTranslation(new Vector3f(x, 100 + y, z)); in simpleInitApp()
164 sphere.addControl(new RigidBodyControl(new SphereCollisionShape(r), 2)); in simpleInitApp()
165 rootNode.attachChild(sphere); in simpleInitApp()
166 bulletAppState.getPhysicsSpace().add(sphere); in simpleInitApp()
DTerrainTestModifyHeight.java420 Sphere sphere = new Sphere(8, 8, 0.5f); in createMarker() local
422 marker.setMesh(sphere); in createMarker()
/external/jmonkeyengine/engine/src/test/jme3test/scene/
DTestSceneLoading.java51 private Geometry sphere = new Geometry("Sky", sphereMesh); field in TestSceneLoading
62 sphere.setLocalTranslation(cam.getLocation()); in simpleUpdate()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java127 View sphere = findViewById(R.id.animation_sphere); in onCreate() local
140 sphere.startAnimation(sphereAnim); in onCreate()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHTree.java435 BoundingSphere sphere = (BoundingSphere) bv; in collideWithBoundingVolume() local
436 bbox = new BoundingBox(bv.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume()
437 sphere.getRadius(), in collideWithBoundingVolume()
438 sphere.getRadius()); in collideWithBoundingVolume()
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DOptics.glsllib11 // texel from a sphere map
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java812 BoundingSphere sphere = (BoundingSphere) boundingVolume; in collideWithBoundingVolume() local
813 … BoundingBox bbox = new BoundingBox(boundingVolume.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume()
814 sphere.getRadius(), in collideWithBoundingVolume()
815 sphere.getRadius()); in collideWithBoundingVolume()
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-raytrace.js820 var sphere = new Flog.RayTracer.Shape.Sphere(
858 scene.shapes.push(sphere);
/external/v8/benchmarks/
Draytrace.js825 var sphere = new Flog.RayTracer.Shape.Sphere(
863 scene.shapes.push(sphere);
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-raytrace.js851 var sphere = new Flog.RayTracer.Shape.Sphere(
889 scene.shapes.push(sphere);
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-raytrace.js851 var sphere = new Flog.RayTracer.Shape.Sphere(
889 scene.shapes.push(sphere);

12