public class Object {
private Coord3D origin;
private double intensity; // In range [0..1]
public Light (Coord3D origin, double intensity) {
this.origin = origin;
this.intensity =...
Type: Posts; User: goochasauras
public class Object {
private Coord3D origin;
private double intensity; // In range [0..1]
public Light (Coord3D origin, double intensity) {
this.origin = origin;
this.intensity =...
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 :(
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);
...