[bb] intersection dll by elias_t [ 1+ years ago ]

Started by BlitzBot, June 29, 2017, 00:28:42

Previous topic - Next topic

BlitzBot

Title : intersection dll
Author : elias_t
Posted : 1+ years ago

Description : Here is a Devc++ created dll to find out if a ray from a 3d point intersects a specific triangle in 3d space.

<a href="http://telias.free.fr/3d_blitz3d.html" target="_blank">http://telias.free.fr/3d_blitz3d.html</a>

Pass the origin [3d point],the vector,and the 3 vertices of the
triangle.
Call the dll.
If res=1 then the ray intersects the triangle
If res=0 it doesn't intersect it.

Devc++ source code included.


Code :
Code (blitzbasic) Select
use the link above./

Comments : none...