Search:

Type: Posts; User: curmudgeon

Search: Search took 0.09 seconds.

  1. Re: Passing as a parameter, an object + another variable

    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.
  2. Re: Passing as a parameter, an object + another variable

    Um.... care to share the constructor with us?
  3. Re: Passing as a parameter, an object + another variable

    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...
Results 1 to 3 of 3