include/scene.h
branchpyrit
changeset 50 14a727b70d07
parent 49 558fde7da82a
child 53 228cb8bfdd54
equal deleted inserted replaced
49:558fde7da82a 50:14a727b70d07
    50 
    50 
    51 class Ray
    51 class Ray
    52 {
    52 {
    53 public:
    53 public:
    54 	Vector3 o, dir;
    54 	Vector3 o, dir;
       
    55 	Ray(): o(), dir() {};
    55 	Ray(const Vector3 &ao, const Vector3 &adir):
    56 	Ray(const Vector3 &ao, const Vector3 &adir):
    56 		o(ao), dir(adir) {};
    57 		o(ao), dir(adir) {};
    57 };
    58 };
    58 
    59 
    59 /**
    60 /**