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

12 lines
No EOL
218 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);
} // namespace prism