summaryrefslogtreecommitdiff
path: root/lib/ray.hpp
blob: 4c0710a7be10272c9e9f1e56ecf27d7ff849b48b (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <glm/glm.hpp>

class Ray {
public:
	Ray(glm::vec3 start, glm::vec3 direction) : start {start}, direction {direction} { }

	glm::vec3 start;
	glm::vec3 direction;
};