Make the Triangle.Contains(Float3, float) method faster. #107

Open
opened 2023-09-08 10:31:44 -04:00 by That-One-Nerd · 0 comments
That-One-Nerd commented 2023-09-08 10:31:44 -04:00 (Migrated from github.com)

The current system is to make three sub triangles relating to the reference point and see if the total area of those three is similar to the main triangle's area. While it is a method that works in theory, error is quite common (the edges of the triangle tend to get cut off), and, worst, it is quite a slow method.

Replace this with a much more optimized system. (Not sure which yet).

The current system is to make three sub triangles relating to the reference point and see if the total area of those three is similar to the main triangle's area. While it is a method that works in theory, error is quite common (the edges of the triangle tend to get cut off), and, worst, it is quite a slow method. Replace this with a much more optimized system. (Not sure which yet).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: That-One-Nerd/Nerd_STF#107
No description provided.