Indeed you would need to pass a Coord3D object into the Light constructor, likely
Light light = new Light(new Coord3D(1, -2, 35), 0.5);
Or something similar.
Type: Posts; User: curmudgeon
Indeed you would need to pass a Coord3D object into the Light constructor, likely
Light light = new Light(new Coord3D(1, -2, 35), 0.5);
Or something similar.
Um.... care to share the constructor with us?
No, you cannot have nested parenthesis like that. Perhaps all you need to do is to remove the inner nested parenthesis and this will work. The key will be to inspect the constructors available for...