13 lines
376 B
C++
13 lines
376 B
C++
|
|
import Crafter.Math;
|
||
|
|
import std;
|
||
|
|
|
||
|
|
using namespace Crafter;
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
Vector<float, 3, 0> test(1,2,3);
|
||
|
|
Vector<float, 3, 0> test2(1,2,3);
|
||
|
|
Vector<float, 3, 0> test3(1,2,3);
|
||
|
|
Vector<float, 3, 0> test4(1,2,3);
|
||
|
|
Vector<float, 3, 0> test5(1,2,3);
|
||
|
|
std::cout << IntersectionTestRayTriangle(test, test2, test3, test4, test5) << std::endl;
|
||
|
|
}
|