/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
EntropyComputeUtil.java | 6 import com.jme3.math.Ray; 35 Ray ray = new Ray(pos, dir); local 56 ray.setOrigin(pos); 59 terrainBlock.collideWith(ray, Matrix4f.IDENTITY, bbox, results);
|
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
TestMousePick.java | 42 import com.jme3.math.Ray; 82 Ray ray = new Ray(origin, direction); local 84 shootables.collideWith(ray, results);
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestDepthOfField.java | 191 Ray ray = new Ray(origin, direction); local 193 int numCollisions = terrain.collideWith(ray, results);
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
SimpleWaterProcessor.java | 109 protected Ray ray = new Ray(); field in class:SimpleWaterProcessor 189 //update ray 190 ray.setOrigin(sceneCam.getLocation()); 191 ray.setDirection(sceneCam.getDirection()); 205 if (!ray.intersectsWherePlane(plane, targetLocation)) { 206 ray.setDirection(ray.getDirection().negateLocal()); 207 ray.intersectsWherePlane(plane, targetLocation) [all...] |
WaterFilter.java | 75 protected Ray ray = new Ray(); field in class:WaterFilter 150 ray.setOrigin(sceneCam.getLocation()); 151 ray.setDirection(sceneCam.getDirection()); 155 if (!ray.intersectsWherePlane(plane, targetLocation)) { 156 ray.setDirection(ray.getDirection().negateLocal()); 157 ray.intersectsWherePlane(plane, targetLocation); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
BIHTree.java | 46 import com.jme3.math.Ray; 396 private int collideWithRay(Ray r, 454 if (other instanceof Ray) { 455 Ray ray = (Ray) other; local 456 return collideWithRay(ray, worldMatrix, worldBound, results);
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainTestModifyHeight.java | 48 import com.jme3.math.Ray; 266 Ray ray = new Ray(origin, direction); local 268 int numCollisions = terrain.collideWith(ray, results);
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingBox.java | 637 * determines if this bounding box intersects with a given ray object. If an
640 * @see BoundingVolume#intersects(com.jme3.math.Ray)
642 public boolean intersects(Ray ray) {
649 Vector3f diff = ray.origin.subtract(getCenter(vars.vect2), vars.vect1);
657 fWdU[0] = ray.getDirection().dot(Vector3f.UNIT_X);
666 fWdU[1] = ray.getDirection().dot(Vector3f.UNIT_Y);
675 fWdU[2] = ray.getDirection().dot(Vector3f.UNIT_Z);
684 Vector3f wCrossD = ray.getDirection().cross(diff, vars.vect2);
712 * @see com.jme.bounding.BoundingVolume#intersectsWhere(com.jme.math.Ray)
756 Ray ray = (Ray) other; local [all...] |
BoundingSphere.java | 717 * @see com.jme.bounding.BoundingVolume#intersects(com.jme.math.Ray)
719 public boolean intersects(Ray ray) {
724 Vector3f diff = vars.vect1.set(ray.getOrigin()).subtractLocal(center);
733 float b = ray.getDirection().dot(diff);
744 * @see com.jme.bounding.BoundingVolume#intersectsWhere(com.jme.math.Ray)
746 private int collideWithRay(Ray ray, CollisionResults results) {
749 Vector3f diff = vars.vect1.set(ray.getOrigin()).subtractLocal(
755 a1 = ray.direction.dot(diff); 797 Ray ray = (Ray) other; local [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkOpSegment.cpp | 1438 SkDLine ray; local [all...] |
/external/skia/src/pathops/ |
SkOpSegment.cpp | 1438 SkDLine ray; local [all...] |