Lines Matching refs:function
29 create: function() {
30 return function() {
37 Object.extend = function(destination, source) {
79 initialize : function(r, g, b) {
89 add : function(c1, c2){
99 addScalar: function(c1, s){
111 subtract: function(c1, c2){
121 multiply : function(c1, c2) {
131 multiplyScalar : function(c1, f) {
141 divideFactor : function(c1, f) {
151 limit: function(){
157 distance : function(color) {
162 blend: function(c1, c2, w){
171 brightness : function() {
178 toString : function () {
197 initialize : function(pos, color, intensity) {
203 toString : function () {
218 initialize : function(x, y, z) {
224 copy: function(vector){
230 normalize : function() {
235 magnitude : function() {
239 cross : function(w) {
246 dot : function(w) {
250 add : function(v, w) {
254 subtract : function(v, w) {
259 multiplyVector : function(v, w) {
263 multiplyScalar : function(v, w) {
267 toString : function () {
280 initialize : function(pos, dir) {
285 toString : function () {
301 initialize : function() {
327 initialize : function() {
331 getColor: function(u, v){
335 wrapUp: function(t){
342 toString : function () {
354 initialize : function(color, reflection, refraction, transparency, gloss) {
362 getColor: function(u, v){
366 toString : function () {
383 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) {
393 getColor: function(u, v){
402 toString : function () {
415 initialize : function(pos, radius, material) {
421 intersect: function(ray){
453 toString : function () {
467 initialize : function(pos, d, material) {
473 intersect: function(ray){
507 toString : function () {
526 initialize : function() {
530 toString : function () {
547 initialize : function(pos, lookAt, up) {
555 function(vx, vy){
574 toString : function () {
588 initialize : function(color, ambience) {
602 initialize: function(options){
621 setPixel: function(x, y, color){
637 renderScene: function(scene, canvas){
666 getPixelColor: function(ray, scene){
675 testIntersection: function(ray, scene, exclude){
695 getReflectionRay: function(P,N,V){
704 rayTrace: function(info, ray, scene, depth){
806 function renderScene(){