Lines Matching refs:position

198     position: null,
203 this.position = pos;
209 return 'Light [' + this.position.x + ',' + this.position.y + ',' + this.position.z + ']';
283 position : null,
286 this.position = pos;
291 return 'Ray [' + this.position + ',' + this.direction + ']';
422 this.position = pos;
430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position);
439 info.position = Flog.RayTracer.Vector.prototype.add(
440 ray.position,
447 info.position,
448 this.position
459 return 'Sphere [position=' + this.position + ', radius=' + this.radius + ']';
473 this.position = pos;
481 var Vd = this.position.dot(ray.direction);
484 var t = -(this.position.dot(ray.position) + this.d) / Vd;
489 info.position = Flog.RayTracer.Vector.prototype.add(
490 ray.position,
496 info.normal = this.position;
500 var vU = new Flog.RayTracer.Vector(this.position.y, this.position.z, -this.position.x);
501 var vV = vU.cross(this.position);
502 var u = info.position.dot(vU);
503 var v = info.position.dot(vV);
513 return 'Plane [' + this.position + ', d=' + this.d + ']';
526 position: null,
536 return 'Intersection [' + this.position + ']';
546 position: null,
553 this.position = pos;
557 this.screen = Flog.RayTracer.Vector.prototype.add(this.position, this.lookAt);
571 this.position
720 light.position,
721 info.position
746 var reflectionRay = this.getReflectionRay(info.position, info.normal, ray.direction);
771 var shadowRay = new Flog.RayTracer.Ray(info.position, v);
784 info.shape.position,
785 light.position
789 scene.camera.position,
790 info.shape.position