Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(var i = 0; i < 10; i++) {
- if(Math.trunc(down[i]) != 0 || -0){
- strike++;
- if(i == 0) {
- pubnub.publish({
- message: {
- 'key' : 'pins',
- 'pin' : 1,
- 'rotation' : document.querySelector("#one").getAttribute('rotation'),
- 'position' : document.querySelector("#one").getAttribute('position')
- },
- channel: 'VR'
- });
- }
- }
- }
Add Comment
Please, Sign In to add comment