FATAL BUG FOUND Pi

About Monkey 2 Forums Monkey 2 Development FATAL BUG FOUND Pi

This topic contains 2 replies, has 3 voices, and was last updated by  Simon Armstrong 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8361

    AdamStrange
    Participant

    Mark – hang your head in shame.

    On a windows machine Pi = 0

    Couldn’t workout what was going on, tracked it down to this one.

    needed to replace

    const PIHALF:float = Pi * 0.5

     

    with

    const PIHALF:float = 3.14159265359 * 0.5

    #8370

    Jesse
    Participant

    it’s been mentioned twice in the GitHub repository. Pi is not 0 you just can’t assign it to something else while not in a class or function. I believe Mark mentioned that he has fixed it on the latest updated on the development section of Github. He had to fix it to add my billiard game to the repository. I don’t know for sure sure though. I haven’t tried it.

    #8371

    Simon Armstrong
    Participant

    .

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.