Interesting dll. For curiosity, I wanted to see how fast it was, and ran it under the following code...
begin_t = date_current_time();
repeat 1000
{
p11 = TriTriCollisions_Point_Define(0,0,2);
p12 = TriTriCollisions_Point_Define(2,0,0);
p13 = TriTriCollisions_Point_Define(0,2,0);
p21 = TriTriCollisions_Point_Define(0,0,0);
p22 = TriTriCollisions_Point_Define(2,0,2);
p23 = TriTriCollisions_Point_Define(0,2,2);
}
end_t = date_current_time();
time_diff = string(date_second_span(begin_t,end_t));
show_message(time_diff+"seconds, "+string(1000/real(time_diff))+" operations per second");I got on average 1.10 seconds, and 909.09 operations (I would imagine others would get faster results, as my computer is practically ancient by today's standards).
I also noticed that as the workload increased, the number of operation per second decreased. Here is what I found...
Repeat = Seconds = Operations Per Second
1000 = 1.10 = 909.09
2000 = 2.86 = 699.30
3000 = 5.49 = 546.45
4000 = 8.84 = 452.49
5000 = 13.62 = 367.11