Searched defs:spat (Results 1 - 12 of 12) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
H A DOpaqueComparator.java50 public float distanceToCam(Geometry spat){ argument
51 if (spat == null)
54 if (spat.queueDistance != Float.NEGATIVE_INFINITY)
55 return spat.queueDistance;
61 if (spat.getWorldBound() != null){
62 spatPosition = spat.getWorldBound().getCenter();
64 spatPosition = spat.getWorldTranslation();
68 spat.queueDistance = tempVec.dot(viewVector);
70 return spat.queueDistance;
H A DTransparentComparator.java52 * @param spat
56 private float distanceToCam2(Geometry spat){ argument
57 if (spat == null)
60 if (spat.queueDistance != Float.NEGATIVE_INFINITY)
61 return spat.queueDistance;
67 if (spat.getWorldBound() != null){
68 spatPosition = spat.getWorldBound().getCenter();
70 spatPosition = spat.getWorldTranslation();
74 spat.queueDistance = tempVec.dot(tempVec);
80 spat
85 distanceToCam(Geometry spat) argument
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestCollisionShapeFactory.java119 private void randomizeTransform(Spatial spat){ argument
120 spat.setLocalTranslation((float) Math.random() * 10, (float) Math.random() * 10, (float) Math.random() * 10);
121 spat.setLocalTranslation((float) Math.random() * 10, (float) Math.random() * 10, (float) Math.random() * 10);
122 spat.setLocalScale((float) Math.random() * 2, (float) Math.random() * 2, (float) Math.random() * 2);
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
H A DCollisionShapeFactory.java55 * @param spat
59 private static Transform getTransform(Spatial spat, Spatial parent) { argument
61 Spatial parentNode = spat.getParent() != null ? spat.getParent() : spat;
62 Spatial currentSpatial = spat;
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DAssetLinkNode.java101 public void attachLinkedChild(Spatial spat, ModelKey key) { argument
103 assetChildren.put(key, spat);
104 attachChild(spat);
H A DNode.java450 * @param spat
454 public boolean hasChild(Spatial spat) { argument
455 if (children.contains(spat))
459 if (child instanceof Node && ((Node) child).hasChild(spat))
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DTextureAtlas.java481 * @param spat The root spatial of the scene to batch
486 public static Geometry makeAtlasBatch(Spatial spat, AssetManager mgr, int atlasSize) { argument
488 GeometryBatchFactory.gatherGeoms(spat, geometries);
489 TextureAtlas atlas = createAtlas(spat, atlasSize);
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
H A DPhysicsVehicle.java167 * @param spat the wheel Geometry
176 public VehicleWheel addWheel(Spatial spat, Vector3f connectionPoint, Vector3f direction, Vector3f axle, float suspensionRestLength, float wheelRadius, boolean isFrontWheel) { argument
178 if (spat == null) {
181 wheel = new VehicleWheel(spat, connectionPoint, direction, axle, suspensionRestLength, wheelRadius, isFrontWheel);
H A DVehicleWheel.java73 public VehicleWheel(Spatial spat, Vector3f location, Vector3f direction, Vector3f axle, argument
76 wheelSpatial = spat;
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
H A DPhysicsVehicle.java154 * @param spat the wheel Geometry
163 public VehicleWheel addWheel(Spatial spat, Vector3f connectionPoint, Vector3f direction, Vector3f axle, float suspensionRestLength, float wheelRadius, boolean isFrontWheel) { argument
165 if (spat == null) {
168 wheel = new VehicleWheel(spat, connectionPoint, direction, axle, suspensionRestLength, wheelRadius, isFrontWheel);
H A DVehicleWheel.java73 public VehicleWheel(Spatial spat, Vector3f location, Vector3f direction, Vector3f axle, argument
76 wheelSpatial = spat;
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
H A DSimpleWaterProcessor.java337 * @param spat
339 public void setReflectionScene(Spatial spat) { argument
340 reflectionScene = spat;

Completed in 664 milliseconds