Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/math/include/ray.hpp
2021-05-12 09:56:44 -04:00

12 lines
No EOL
199 B
C++

#pragma once
#include "vector.hpp"
namespace prism {
struct ray {
float3 origin, direction;
float t = 0.0f;
};
float closest_distance_between_lines(ray& l1, ray& l2);
}