google-deepmind / lab

A customisable 3D platform for agent-based AI research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Did you know your value of Pi is wrong?

Draco18s opened this issue · comments

#define ONE_OVER_2PI 0.159154942f //% (1.0f / (2.0f * 3.141592657f))

It should be 3.141592654 (with that one-over-two-pi should be 0.159154943)

This value of pi originated in the original Doom from 1993 and has been copy-pasted into thousands of projects from one to another ever since.

https://youtu.be/_ZSFRWJCUY4?t=897

Interesting :)