Writing a game-engine or CAD tools can be a worthwhile adventure. Ever tried to draw a pentagon without using trig functions? Everything can be done as if with a compass and straightedge. This works since the cosine of 36 degrees = (1+sqrt(5)/4. Other polygons to follow: 10, 12, 60.

#C++ #AI #3D
1 / 2
Post image
Post image

Comments