1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

ray:: removed extra #define PI

This commit is contained in:
Zeno Rogue 2019-10-26 10:54:59 +02:00
parent df48abe6b1
commit ee06fdc326

View File

@ -107,7 +107,6 @@ void reset_raycaster() { our_raycaster = nullptr; };
void enable_raycaster() { void enable_raycaster() {
if(!our_raycaster) { if(!our_raycaster) {
string vsh = string vsh =
"#define PI 3.14159265358979324\n"
"attribute vec4 aPosition;\n" "attribute vec4 aPosition;\n"
"uniform float uFovX, uFovY;\n" "uniform float uFovX, uFovY;\n"
"varying vec4 at;\n" "varying vec4 at;\n"