Login  Register

Re: T.U.E.R: Truly Unusual Experience of Revolution, first person shooter

Posted by gouessej on Apr 07, 2023; 4:52pm
URL: https://forum.jogamp.org/T-U-E-R-Truly-Unusual-Experience-of-Revolution-first-person-shooter-tp4042327p4042409.html

Does CDTriangulator2DExpAddOn.processLineAAImpl() try to check whether 2 triangles compose a rectangle? If it's the case and if the bug is in this part, it won't be hard to fix. The triangles must be in the same plane (use the plane equation composed of a normalized normal and a constant), they must have distinct right angles (use a dot product) and share the same hypotenuse (compare the vertices not on the right angles). As you talk about Delaunay, the limitation or bug is rather in CDTriangulator2D, isn't it?
Julien Gouesse | Personal blog | Website