hermespy-rt

Minimalistic signal processing ray-tracer in C
git clone https://git.ea.contact/hermespy-rt
Log | Files | Refs

ray.h (148B)


      1 #ifndef RAY_H
      2 #define RAY_H
      3 
      4 #include "vec3.h" /* for Vec3 */
      5 
      6 typedef struct {
      7     Vec3 o; /* origin */
      8     Vec3 d; /* direction */
      9 } Ray;
     10 
     11 #endif