Tuesday, June 21, 2022

Fixed that 2nd triangle

11 June 2022- Trying my world div thing again...

I finally have the land blob area derived from the cross product! 8-P
I have the page looking at the fan area size and comparing this to real world continent areas.
I figured out how my angles were getting messed up. The total always needs to be a positive number and I just hit the angle with Math.abs(). I can now work on building the new triangle fan off oth these three old points and the new center point.
I sorted out my problem with the area of the second new triangle, now I need to build the new triangle fan.

No comments:

Post a Comment