Searched refs:scene (Results 1 – 1 of 1) sorted by relevance
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | raytrace.js | 642 renderScene: function(scene, canvas){ argument 659 var ray = scene.camera.getRay(xp, yp); 661 var color = this.getPixelColor(ray, scene); 671 getPixelColor: function(ray, scene){ argument 672 var info = this.testIntersection(ray, scene, null); 674 var color = this.rayTrace(info, ray, scene, 0); 677 return scene.background.color; 680 testIntersection: function(ray, scene, exclude){ argument 685 for(var i=0; i<scene.shapes.length; i++){ 686 var shape = scene.shapes[i]; [all …]
|