1
Fork 0
raytracer/include/ray.h

10 lines
185 B
C
Raw Normal View History

2020-02-17 10:33:56 -05:00
#pragma once
#include <glm/glm.hpp>
struct Ray {
Ray(const glm::vec3 origin, const glm::vec3 direction) : origin(origin), direction(direction) {}
glm::vec3 origin, direction;
};