rayzor

diff src/camera.h @ 17:79609d482762

the renderer renders, also fixed an unnoticed matrix conversion problem between scenegraph and min3d
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 14 Apr 2014 07:34:45 +0300
parents be616b58df99
children 859ccadca671
line diff
     1.1 --- a/src/camera.h	Sun Apr 13 09:54:51 2014 +0300
     1.2 +++ b/src/camera.h	Mon Apr 14 07:34:45 2014 +0300
     1.3 @@ -22,7 +22,7 @@
     1.4  
     1.5  	void draw() const;
     1.6  
     1.7 -	bool intersect(const Ray &ray, float *dist = 0) const;
     1.8 +	bool intersect(const Ray &ray, RayHit *hit = 0) const;
     1.9  
    1.10  	Ray get_primary_ray(int x, int y) const;
    1.11  };