phi and phi1 in Map Generator

phi and phi1 in Map Generator

Return to topic list

Tue Apr 28 22:59:22 2026   by   TCBNMZK
My compiler (clang) is tripping up on the fact that phi and phi1 are not static values, but an equation (initializer element is not a compile-time constant).
I could just define them statically like pi and deg2rad, but I noticed these two values are only used inside a certain else clause in the tria1 function. Is there a reason why you wouldn't be able to just define the values inside that function?
 
Wed Apr 29 11:14:13 2026   by   Torben
No reason at all.  For some reason gcc didn't complain.
 

Return to topic list



New message:
Topic:
Posted by:

Type the values of the dice shown below:

Return to topic list