12 lines
No EOL
199 B
C++
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);
|
|
} |