Page 1 of 1

PI constant

PostPosted: Sun Oct 14, 2007 8:17 am
by Fuzzy
What is the constant for PI in GE? I dont see any reference to it in the help.

Re: PI constant

PostPosted: Sun Oct 14, 2007 8:36 am
by pixelpoop
you can just output PI to a text actor (textNumber=PI;) and see. it is 3.14159

Re: PI constant

PostPosted: Sun Oct 14, 2007 12:06 pm
by Fuzzy
thanks

Re: PI constant

PostPosted: Sun Oct 14, 2007 3:34 pm
by Game A Gogo
there is actually a PI constant that is already define in GE? I always used "#define PI=3.1415926535897932384626433832795" in the global code