| /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/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...] |
| /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-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/math/ |
| LineSegment.java | 48 * @see Ray
106 public float distance(Ray r) {
419 public float distanceSquared(Ray r) {
429 // The ray and segment are not parallel.
438 // minimum at interior points of ray and segment
518 // ray and segment are parallel
|
| /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
| TerrainPatch.java | 793 if(other instanceof Ray)
794 return collideWithRay((Ray)other, results);
803 private int collideWithRay(Ray ray, CollisionResults results) {
[all...] |
| TerrainQuad.java | 45 import com.jme3.math.Ray;
343 private int collideWithRay(Ray ray, CollisionResults results) {
347 Vector3f intersection = picker.getTerrainIntersection(ray, results);
[all...] |
| /external/chromium_org/third_party/usb_ids/ |
| usb.ids | [all...] |