Home
last modified time | relevance | path

Searched refs:ray (Results 1 – 1 of 1) sorted by relevance

/cts/suite/cts/deviceTests/browserbench/assets/octane/
Draytrace.js426 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 …]