Tuesday, June 14, 2022

Fixed the bad angle thing... and then got something else wrong

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 added the areas of the two new triangles and I'm doing something qrong here...)

No comments:

Post a Comment