/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/core/com/jme3/bounding/ |
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...] |
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...] |
BoundingVolume.java | 250 * determines if a ray intersects this bounding volume.
252 * @param ray
253 * the ray to test.
254 * @return true if this volume is intersected by a given ray.
256 public abstract boolean intersects(Ray ray);
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
carousel.rs | 46 } Ray; 166 const bool debugCamera = false; // dumps ray/camera coordinate stuff 282 static int intersectGeometry(Ray* ray, float *bestTime); 285 makeRayForPixelAt(Ray* ray, PerspectiveCamera* cam, float x, float y); 287 makeRayForPixelAt(Ray* ray, rs_matrix4x4* model, rs_matrix4x4* proj, float x, float y); 289 static bool rayPlaneIntersect(Ray* ray, Plane* plane, float* tout) [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
raytrace.js | 1 // The ray tracer code in this file is written by Adam Burmister. It 9 // JavaScript framework which is used by the ray tracer. 17 // the scene was ray traced correctly. 53 // The rest of this file is the actual ray tracer written by Adam 59 // flog/ray.js 280 Flog.RayTracer.Ray = Class.create(); 282 Flog.RayTracer.Ray.prototype = { 291 return 'Ray [' + this.position + ',' + this.direction + ']'; 426 intersect: function(ray){ 430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 1 // The ray tracer code in this file is written by Adam Burmister. It 9 // JavaScript framework which is used by the ray tracer. 12 // the scene was ray traced correctly. 48 // The rest of this file is the actual ray tracer written by Adam 54 // flog/ray.js 281 Flog.RayTracer.Ray = Class.create(); 283 Flog.RayTracer.Ray.prototype = { 292 return 'Ray [' + this.position + ',' + this.direction + ']'; 452 intersect: function(ray){ 456 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-raytrace.js | 1 // The ray tracer code in this file is written by Adam Burmister. It 9 // JavaScript framework which is used by the ray tracer. 12 // the scene was ray traced correctly. 48 // The rest of this file is the actual ray tracer written by Adam 54 // flog/ray.js 281 Flog.RayTracer.Ray = Class.create(); 283 Flog.RayTracer.Ray.prototype = { 292 return 'Ray [' + this.position + ',' + this.direction + ']'; 452 intersect: function(ray){ 456 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-raytrace.js | 1 // The ray tracer code in this file is written by Adam Burmister. It 9 // JavaScript framework which is used by the ray tracer. 12 // the scene was ray traced correctly. 48 // The rest of this file is the actual ray tracer written by Adam 54 // flog/ray.js 275 Flog.RayTracer.Ray = Class.create(); 277 Flog.RayTracer.Ray.prototype = { 286 return 'Ray [' + this.position + ',' + this.direction + ']'; 421 intersect: function(ray){ 425 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position) [all...] |
/external/chromium_org/v8/benchmarks/ |
raytrace.js | 1 // The ray tracer code in this file is written by Adam Burmister. It 9 // JavaScript framework which is used by the ray tracer. 17 // the scene was ray traced correctly. 53 // The rest of this file is the actual ray tracer written by Adam 59 // flog/ray.js 280 Flog.RayTracer.Ray = Class.create(); 282 Flog.RayTracer.Ray.prototype = { 291 return 'Ray [' + this.position + ',' + this.direction + ']'; 426 intersect: function(ray){ 430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position) [all...] |
/external/v8/benchmarks/ |
raytrace.js | 1 // The ray tracer code in this file is written by Adam Burmister. It 9 // JavaScript framework which is used by the ray tracer. 17 // the scene was ray traced correctly. 53 // The rest of this file is the actual ray tracer written by Adam 59 // flog/ray.js 280 Flog.RayTracer.Ray = Class.create(); 282 Flog.RayTracer.Ray.prototype = { 291 return 'Ray [' + this.position + ',' + this.direction + ']'; 426 intersect: function(ray){ 430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position) [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkOpAngle.cpp | 181 // FIXME: until I can think of something better, project a ray from the 187 SkDLine ray; 197 ray[0] = partVerb == SkPath::kCubic_Verb && part[0].approximatelyEqual(part[1]) ? 199 ray[1] = SkDPoint::Mid(part[0], part[SkPathOpsVerbToPoints(partVerb)]); 200 SkASSERT(ray[0] != ray[1]); 201 roots = (i.*CurveRay[SkPathOpsVerbToPoints(verb)])(fSegment->pts(), ray); 202 rroots = (ri.*CurveRay[SkPathOpsVerbToPoints(rVerb)])(rh.fSegment->pts(), ray); 219 SkDebugf("lh=%d rh=%d use-lh=%d ray={{%1.9g,%1.9g}, {%1.9g,%1.9g}} %c\n", 220 fSegment->debugID(), rh.fSegment->debugID(), useThis, ray[0].fX, ray[0].fY [all...] |
SkOpSegment.cpp | 1438 SkDLine ray; local [all...] |
/external/skia/src/pathops/ |
SkOpAngle.cpp | 181 // FIXME: until I can think of something better, project a ray from the 187 SkDLine ray; 197 ray[0] = partVerb == SkPath::kCubic_Verb && part[0].approximatelyEqual(part[1]) ? 199 ray[1] = SkDPoint::Mid(part[0], part[SkPathOpsVerbToPoints(partVerb)]); 200 SkASSERT(ray[0] != ray[1]); 201 roots = (i.*CurveRay[SkPathOpsVerbToPoints(verb)])(fSegment->pts(), ray); 202 rroots = (ri.*CurveRay[SkPathOpsVerbToPoints(rVerb)])(rh.fSegment->pts(), ray); 219 SkDebugf("lh=%d rh=%d use-lh=%d ray={{%1.9g,%1.9g}, {%1.9g,%1.9g}} %c\n", 220 fSegment->debugID(), rh.fSegment->debugID(), useThis, ray[0].fX, ray[0].fY [all...] |
SkOpSegment.cpp | 1438 SkDLine ray; local [all...] |
/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/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/helloworld/ |
HelloPicking.java | 47 import com.jme3.math.Ray;
97 // 2. Aim the ray from cam loc to cam direction.
98 Ray ray = new Ray(cam.getLocation(), cam.getDirection());
99 // 3. Collect intersections between Ray and Shootables in results list.
100 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/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/ |
TerrainTestCollision.java | 52 import com.jme3.math.Ray; 258 Ray ray = new Ray(origin, direction); 260 int numCollisions = terrain.collideWith(ray, results);
|
TerrainTestModifyHeight.java | 48 import com.jme3.math.Ray; 266 Ray ray = new Ray(origin, direction); local 268 int numCollisions = terrain.collideWith(ray, results);
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
scene.js | 245 var ray = new THREE.Ray( camera.position, vector.subSelf( camera.position ).normalize() ); 246 var intersects = ray.intersectObjects( objects );
|
/external/openssh/contrib/caldera/ |
openssh.spec | 48 Packager : Raymund Will <ray@caldera.de>
|