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

8 lines
137 B
C++
Raw Normal View History

2021-04-20 11:53:49 -04:00
#pragma once
struct ray {
Vector3 origin, direction;
float t = 0.0f;
};
float closest_distance_between_lines(ray& l1, ray& l2);