/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
D | BoundingSphere.java | 386 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/ |
D | TestTexture3D.java | 40 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/llvm/test/Transforms/Inline/ |
D | inline-byval-bonus.ll | 11 %struct.sphere = type { %struct.vec3, double, %struct.material, %struct.sphere* } 17 define i32 @caller(%struct.sphere* %i) { 21 …%call = call i32 @ray_sphere(%struct.sphere* %i, %struct.ray* byval align 8 %shadow_ray, %struct.s… 31 define i32 @ray_sphere(%struct.sphere* nocapture %sph, %struct.ray* nocapture byval align 8 %ray, %… 46 %15 = getelementptr inbounds %struct.sphere, %struct.sphere* %sph, i64 0, i32 0, i32 0 53 %22 = getelementptr inbounds %struct.sphere, %struct.sphere* %sph, i64 0, i32 0, i32 1 61 %30 = getelementptr inbounds %struct.sphere, %struct.sphere* %sph, i64 0, i32 0, i32 2 85 %54 = getelementptr inbounds %struct.sphere, %struct.sphere* %sph, i64 0, i32 1
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
D | TestSphere.java | 55 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/libgdx/gdx/src/com/badlogic/gdx/math/collision/ |
D | Sphere.java | 47 public boolean overlaps (Sphere sphere) { in overlaps() argument 48 return center.dst2(sphere.center) < (radius + sphere.radius) * (radius + sphere.radius); in overlaps()
|
/external/jmonkeyengine/engine/src/test/jme3test/stress/ |
D | TestLeakingGL.java | 83 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/ |
D | TestSimpleBumps.java | 63 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()
|
D | TestUnshadedModel.java | 27 Geometry sphere = new Geometry("Rock Ball", sphMesh); in simpleInitApp() local 32 sphere.setMaterial(mat); in simpleInitApp() 33 rootNode.attachChild(sphere); in simpleInitApp()
|
D | TestNormalMapping.java | 64 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/ |
D | PhysicsTestHelper.java | 72 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/ |
D | TestUnshadedModel.java | 27 Geometry sphere = new Geometry("Rock Ball", sphMesh); in simpleInitApp() local 32 sphere.setMaterial(mat); in simpleInitApp() 33 rootNode.attachChild(sphere); in simpleInitApp()
|
D | TestNormalMapping.java | 66 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/ |
D | TestFBOPassthrough.java | 80 Geometry sphere = new Geometry("sphere", sphMesh); in simpleInitApp() local 81 sphere.setMaterial(solidColor); in simpleInitApp() 82 fbNode.attachChild(sphere); in simpleInitApp()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | ProjectTest.java | 41 Model sphere; field in ProjectTest 53 sphere = objLoader.loadModel(Gdx.files.internal("data/sphere.obj")); in create() 54 sphere.materials.get(0).set(new ColorAttribute(ColorAttribute.Diffuse, Color.WHITE)); in create() 59 …instances[i] = new ModelInstance(sphere, rand.nextFloat() * 100 - rand.nextFloat() * 100, rand.nex… in create()
|
D | CullTest.java | 42 Model sphere; field in CullTest 53 …sphere = builder.createSphere(2f, 2f, 2f, 16, 16, new Material(new ColorAttribute(ColorAttribute.D… in create() 65 instances[i] = new ModelInstance(sphere, pos); in create() 112 sphere.dispose(); in dispose()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
D | SphereTriangleDetector.java | 69 …public SphereTriangleDetector(btSphereShape sphere, btTriangleShape triangle, float contactBreakin… in SphereTriangleDetector() argument 70 …this(CollisionJNI.new_SphereTriangleDetector(btSphereShape.getCPtr(sphere), sphere, btTriangleShap… in SphereTriangleDetector()
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
D | HelloPhysics.java | 76 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()
|
D | HelloPicking.java | 148 Sphere sphere = new Sphere(30, 30, 0.2f); in initMark() local 149 mark = new Geometry("BOOM!", sphere); in initMark()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
D | BasicShapesTest.java | 45 final Model sphere = modelBuilder.createSphere(4f, 4f, 4f, 24, 24, material, attributes); in create() local 46 disposables.add(sphere); in create() 47 world.addConstructor("sphere", new BulletConstructor(sphere, 10f, new btSphereShape(2f))); in create()
|
D | BasicBulletTest.java | 156 ModelInstance sphere = new ModelInstance(sphereModel); in create() local 157 instances.add(sphere); in create() 158 …sphere.transform.trn(x + 0.1f * MathUtils.random(), y + 0.1f * MathUtils.random(), z + 0.1f * Math… in create() 160 sphereMotionState.setWorldTransform(sphere.transform); in create()
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
D | TerrainTestCollision.java | 158 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()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
D | btSphereTriangleCollisionAlgorithm.cpp | 54 btSphereShape* sphere = (btSphereShape*)sphereObjWrap->getCollisionShape(); in processCollision() local 59 SphereTriangleDetector detector(sphere,triangle, m_manifoldPtr->getContactBreakingThreshold()); in processCollision()
|
/external/jmonkeyengine/engine/src/test/jme3test/scene/ |
D | TestSceneLoading.java | 51 private Geometry sphere = new Geometry("Sky", sphereMesh); field in TestSceneLoading 62 sphere.setLocalTranslation(cam.getLocation()); in simpleUpdate()
|
/external/eigen/demos/opengl/ |
D | gpuhelper.cpp | 122 static IcoSphere sphere; in drawUnitSphere() local 123 sphere.draw(level); in drawUnitSphere()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | AnimationPlayerActivity.java | 127 View sphere = findViewById(R.id.animation_sphere); in onCreate() local 140 sphere.startAnimation(sphereAnim); in onCreate()
|