gKit2 light
Classes | Functions
tuto_rayons.cpp File Reference
#include <vector>
#include <cfloat>
#include <chrono>
#include "vec.h"
#include "mat.h"
#include "color.h"
#include "image.h"
#include "image_io.h"
#include "image_hdr.h"
#include "orbiter.h"
#include "mesh.h"
#include "wavefront.h"

Go to the source code of this file.

Classes

struct  Ray
 rayon. More...
 
struct  Hit
 intersection avec un triangle. More...
 
struct  Triangle
 triangle pour le bvh, cf fonction bounds() et intersect(). More...
 

Functions

Vector normal (const Mesh &mesh, const Hit &hit)
 
int main (const int argc, const char **argv)