/external/llvm/test/Transforms/Inline/ |
D | inline-byval-bonus.ll | 4 ; The performance of the c-ray benchmark largely depends on the inlining of a 14 %struct.ray = type { %struct.vec3, %struct.vec3 } 18 %shadow_ray = alloca %struct.ray, align 8 19 call void @fix(%struct.ray* %shadow_ray) 21 …%call = call i32 @ray_sphere(%struct.sphere* %i, %struct.ray* byval align 8 %shadow_ray, %struct.s… 29 declare void @fix(%struct.ray*) 31 define i32 @ray_sphere(%struct.sphere* nocapture %sph, %struct.ray* nocapture byval align 8 %ray, %… 32 %1 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 0 35 %4 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 1 39 %8 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 2 [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
D | BoundingSphere.java | 719 public boolean intersects(Ray ray) { in intersects() argument 724 Vector3f diff = vars.vect1.set(ray.getOrigin()).subtractLocal(center); in intersects() 733 float b = ray.getDirection().dot(diff); in intersects() 746 private int collideWithRay(Ray ray, CollisionResults results) { in collideWithRay() argument 749 Vector3f diff = vars.vect1.set(ray.getOrigin()).subtractLocal( in collideWithRay() 755 a1 = ray.direction.dot(diff); in collideWithRay() 760 Vector3f point = new Vector3f(ray.direction).multLocal(distance).addLocal(ray.origin); in collideWithRay() 768 a1 = ray.direction.dot(diff); in collideWithRay() 780 Vector3f point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin); in collideWithRay() 784 point = new Vector3f(ray.direction).multLocal(dist).addLocal(ray.origin); in collideWithRay() [all …]
|
D | BoundingBox.java | 642 public boolean intersects(Ray ray) { in intersects() argument 649 Vector3f diff = ray.origin.subtract(getCenter(vars.vect2), vars.vect1); in intersects() 657 fWdU[0] = ray.getDirection().dot(Vector3f.UNIT_X); in intersects() 666 fWdU[1] = ray.getDirection().dot(Vector3f.UNIT_Y); in intersects() 675 fWdU[2] = ray.getDirection().dot(Vector3f.UNIT_Z); in intersects() 684 Vector3f wCrossD = ray.getDirection().cross(diff, vars.vect2); in intersects() 714 private int collideWithRay(Ray ray, CollisionResults results) { in collideWithRay() argument 717 Vector3f diff = vars.vect1.set(ray.origin).subtractLocal(center); in collideWithRay() 718 Vector3f direction = vars.vect2.set(ray.direction); in collideWithRay() 735 new Vector3f(ray.direction).multLocal(distances[0]).addLocal(ray.origin), in collideWithRay() [all …]
|
D | BoundingVolume.java | 256 public abstract boolean intersects(Ray ray); in intersects() argument
|
/external/v8/benchmarks/ |
D | raytrace.js | 426 intersect: function(ray){ argument 430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position); 432 var B = dst.dot(ray.direction); 440 ray.position, 442 ray.direction, 478 intersect: function(ray){ argument 481 var Vd = this.position.dot(ray.direction); 484 var t = -(this.position.dot(ray.position) + this.d) / Vd; 490 ray.position, 492 ray.direction, [all …]
|
/external/skia/src/pathops/ |
D | SkPathOpsCurve.h | 235 static void line_intersect_ray(const SkPoint a[2], SkScalar , const SkDLine& ray, in line_intersect_ray() argument 239 i->intersectRay(line, ray); in line_intersect_ray() 242 static void quad_intersect_ray(const SkPoint a[3], SkScalar , const SkDLine& ray, in quad_intersect_ray() argument 246 i->intersectRay(quad, ray); in quad_intersect_ray() 249 static void conic_intersect_ray(const SkPoint a[3], SkScalar weight, const SkDLine& ray, in conic_intersect_ray() argument 253 i->intersectRay(conic, ray); in conic_intersect_ray() 256 static void cubic_intersect_ray(const SkPoint a[4], SkScalar , const SkDLine& ray, in cubic_intersect_ray() argument 260 i->intersectRay(cubic, ray); in cubic_intersect_ray()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
D | EntropyComputeUtil.java | 35 Ray ray = new Ray(pos, dir); in computeLodEntropy() local 56 ray.setOrigin(pos); in computeLodEntropy() 59 terrainBlock.collideWith(ray, Matrix4f.IDENTITY, bbox, results); in computeLodEntropy()
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
D | SimpleWaterProcessor.java | 109 protected Ray ray = new Ray(); field in SimpleWaterProcessor 190 ray.setOrigin(sceneCam.getLocation()); in postQueue() 191 ray.setDirection(sceneCam.getDirection()); in postQueue() 205 if (!ray.intersectsWherePlane(plane, targetLocation)) { in postQueue() 206 ray.setDirection(ray.getDirection().negateLocal()); in postQueue() 207 ray.intersectsWherePlane(plane, targetLocation); in postQueue()
|
D | WaterFilter.java | 75 protected Ray ray = new Ray(); field in WaterFilter 150 ray.setOrigin(sceneCam.getLocation()); in preFrame() 151 ray.setDirection(sceneCam.getDirection()); in preFrame() 155 if (!ray.intersectsWherePlane(plane, targetLocation)) { in preFrame() 156 ray.setDirection(ray.getDirection().negateLocal()); in preFrame() 157 ray.intersectsWherePlane(plane, targetLocation); in preFrame()
|
/external/skia/src/core/ |
D | SkStroke.cpp | 268 ResultType strokeCloseEnough(const SkPoint stroke[3], const SkPoint ray[2], 1125 const SkPoint ray[2], SkQuadConstruct* quadPts STROKER_DEBUG_PARAMS(int depth)) const { in strokeCloseEnough() 1129 if (points_within_dist(ray[0], strokeMid, fInvResScale)) { // if the difference is small in strokeCloseEnough() 1139 ray[0].fX, ray[0].fY, strokeMid.fX, strokeMid.fY, fInvResScale); in strokeCloseEnough() 1143 if (!ptInQuadBounds(stroke, ray[0])) { // if far, subdivide in strokeCloseEnough() 1147 ray[0].fX, ray[0].fY); in strokeCloseEnough() 1151 int rootCount = intersect_quad_ray(ray, stroke, roots); in strokeCloseEnough() 1159 if (points_within_dist(ray[0], quadPt, error)) { // if the difference is small, we're done in strokeCloseEnough() 1169 ray[0].fX, ray[0].fY, quadPt.fX, quadPt.fY, error); in strokeCloseEnough() 1187 SkPoint ray[2]; // points near midpoint on quad, midpoint on cubic in compareQuadCubic() local [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
D | TestMousePick.java | 82 Ray ray = new Ray(origin, direction); in simpleUpdate() local 84 shootables.collideWith(ray, results); in simpleUpdate()
|
/external/eigen/unsupported/Eigen/ |
D | BVH | 39 * - Determine all points where a ray intersects a triangle mesh 48 … - Find the intersection between a ray and a triangle mesh closest to the ray origin (function is …
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
D | HelloPicking.java | 98 Ray ray = new Ray(cam.getLocation(), cam.getDirection()); 100 shootables.collideWith(ray, results);
|
/external/skia/tests/ |
D | PathOpsAngleIdeas.cpp | 510 SkDVector ray = q.ptAtT(smallT) - origin; in testQuadAngles() local 512 if (ray.fX * end.fX < 0 || ray.fY * end.fY < 0) { in testQuadAngles() 515 double rayDist = ray.length(); in testQuadAngles() 529 SkDVector ray = q.ptAtT(t) - origin; in testQuadAngles() local 531 double rayDist = ray.length(); in testQuadAngles() 534 double midXray = mid.crossCheck(ray); in testQuadAngles()
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
D | TestDepthOfField.java | 191 Ray ray = new Ray(origin, direction); in simpleUpdate() local 193 int numCollisions = terrain.collideWith(ray, results); in simpleUpdate()
|
/external/llvm/test/Transforms/GVN/ |
D | 2007-07-25-SinglePredecessor.ll | 13 …R16ggMaterialRecord(%struct.mrXEllipticalCylinder* %this, %struct.ggBox3* %ray, double %unnamed_ar…
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmssm.c | 478 cmsLine ray; in InterpolateMissingSector() local 502 LineOf2Points(&ray, &Lab, &Centre); in InterpolateMissingSector() 522 ClosestLineToLine(&temp, &ray, &edge); in InterpolateMissingSector()
|
/external/protobuf/gtest/ |
D | CONTRIBUTORS | 18 Keith Ray <keith.ray@gmail.com>
|
/external/google-breakpad/src/testing/ |
D | CONTRIBUTORS | 19 Keith Ray <keith.ray@gmail.com>
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
D | TerrainTestCollision.java | 258 Ray ray = new Ray(origin, direction); 260 int numCollisions = terrain.collideWith(ray, results);
|
D | TerrainTestModifyHeight.java | 266 Ray ray = new Ray(origin, direction); in getWorldIntersection() local 268 int numCollisions = terrain.collideWith(ray, results); in getWorldIntersection()
|
/external/google-breakpad/src/testing/gtest/ |
D | CONTRIBUTORS | 18 Keith Ray <keith.ray@gmail.com>
|
/external/libvpx/libvpx/third_party/googletest/src/ |
D | CONTRIBUTORS | 18 Keith Ray <keith.ray@gmail.com>
|
/external/gtest/ |
D | CONTRIBUTORS | 18 Keith Ray <keith.ray@gmail.com>
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
D | BIHTree.java | 455 Ray ray = (Ray) other; in collideWith() local 456 return collideWithRay(ray, worldMatrix, worldBound, results); in collideWith()
|