From 426fd03165f968abe7dafe30f50afa4b3c5fa8c0 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 19:35:16 +0100 Subject: [PATCH] Initial Commit: CC - Snake FS - Touch Start (0cw20zm4g7.js) --- 0cw20zm4g7.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 0cw20zm4g7.js diff --git a/0cw20zm4g7.js b/0cw20zm4g7.js new file mode 100644 index 0000000..118c004 --- /dev/null +++ b/0cw20zm4g7.js @@ -0,0 +1,18 @@ +if (!this.entityLoaded) { + return; +} + +if (!this.initialized) { + this.initialized = true; +} + +console.log(data); + +return; + +var mouse = { + x : (data.event.offsetX / data.event.target.clientWidth ) * 2 - 1, + y : -(data.event.offsetY / data.event.target.clientHeight) * 2 + 1 +} + +//@ sourceURL=touchStart.js \ No newline at end of file