2bdc20eece5d9db14e42683f2fd3cb4663f04cf2
[IRC.git] / Robust / src / Benchmarks / Scheduling / GC / NON_BAMBOO / RayTracer / Surface.java
1 /**************************************************************************
2  *                                                                         *
3  *             Java Grande Forum Benchmark Suite - Version 2.0             *
4  *                                                                         *
5  *                            produced by                                  *
6  *                                                                         *
7  *                  Java Grande Benchmarking Project                       *
8  *                                                                         *
9  *                                at                                       *
10  *                                                                         *
11  *                Edinburgh Parallel Computing Centre                      *
12  *                                                                         *
13  *                email: epcc-javagrande@epcc.ed.ac.uk                     *
14  *                                                                         *
15  *                 Original version of this code by                        *
16  *            Florian Doyon (Florian.Doyon@sophia.inria.fr)                *
17  *              and  Wilfried Klauser (wklauser@acm.org)                   *
18  *                                                                         *
19  *      This version copyright (c) The University of Edinburgh, 1999.      *
20  *                         All rights reserved.                            *
21  *                                                                         *
22  **************************************************************************/
23
24
25
26 public class Surface
27 //implements java.io.Serializable
28 {
29   public Vec    color;
30   public float  kd;
31   public float  ks;
32   public float  shine;
33   public float  kt;
34   public float  ior;
35   public boolean isnull;
36
37   public Surface() {
38     color = new Vec(1, 0, 0);
39     kd =(float)  1.0;
40     ks = (float) 0.0;
41     shine = (float) 0.0;
42     kt = (float) 0.0;
43     ior = (float) 1.0;
44     isnull=false;
45   }
46
47   public String toString() {
48     return "Surface { color=" + color + "}";
49   }
50 }
51
52