Search:

Type: Posts; User: goochasauras

Search: Search took 0.08 seconds.

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

    public class Object {

    private Coord3D origin;
    private double intensity; // In range [0..1]

    public Light (Coord3D origin, double intensity) {
    this.origin = origin;
    this.intensity =...
  2. Re: Passing as a parameter, an object + another variable

    Nah it isnt called object, im just generalizing the statement...but i checked out the constructor and it seems to be in the correct order and the parenthesis idea didnt work :(
  3. Passing as a parameter, an object + another variable

    I'm have trouble an object which has three integer values in it along with another parameter which is simply a double. This is my syntax atm:


    Object newObject = new Object((1,-2,35),.5);
    ...
Results 1 to 3 of 3