{"action":"closed","issue":{"url":"https://api.github.com/repos/jbaicoianu/janusweb/issues/98","repository_url":"https://api.github.com/repos/jbaicoianu/janusweb","labels_url":"https://api.github.com/repos/jbaicoianu/janusweb/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/jbaicoianu/janusweb/issues/98/comments","events_url":"https://api.github.com/repos/jbaicoianu/janusweb/issues/98/events","html_url":"https://github.com/jbaicoianu/janusweb/issues/98","id":263432348,"number":98,"title":"js object rotation (xdir,ydir,zdir) settings not quite working","user":{"login":"karansher","id":14927196,"avatar_url":"https://avatars0.githubusercontent.com/u/14927196?v=4","gravatar_id":"","url":"https://api.github.com/users/karansher","html_url":"https://github.com/karansher","followers_url":"https://api.github.com/users/karansher/followers","following_url":"https://api.github.com/users/karansher/following{/other_user}","gists_url":"https://api.github.com/users/karansher/gists{/gist_id}","starred_url":"https://api.github.com/users/karansher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karansher/subscriptions","organizations_url":"https://api.github.com/users/karansher/orgs","repos_url":"https://api.github.com/users/karansher/repos","events_url":"https://api.github.com/users/karansher/events{/privacy}","received_events_url":"https://api.github.com/users/karansher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-06T12:39:32Z","updated_at":"2018-02-10T17:55:16Z","closed_at":"2018-02-10T17:55:15Z","author_association":"NONE","body":"check out\r\nhttps://web.janusvr.com/sites/http/demos.janusvr.com/karan/poolhall2/Parallelogram.html\r\n\r\nclick the white ball after the room loads. you will see the balls move around but they dont rotate.\r\nif you look here \r\nhttp://demos.janusvr.com/karan/poolhall2/maya2JanusAnim.js\r\n\r\nevery frame update there is a call that makes a bunch of pos, xdir, ydir etc. settings. (see below)\r\ni remember you saying something about things not getting dirty unless assigned in one shot using Vector. easy for me to change but curious as to why pos.x assignment is working and not xdir.x then?\r\n\r\nroom.objects[objarr[i]].pos.x=anim_data[globalFrame*15*objcnt+15*i];\r\n\troom.objects[objarr[i]].pos.y=anim_data[globalFrame*15*objcnt+15*i+1];\r\n\troom.objects[objarr[i]].pos.z=anim_data[globalFrame*15*objcnt+15*i+2];\r\n\troom.objects[objarr[i]].xdir.x=anim_data[globalFrame*15*objcnt+15*i+3];\r\n\troom.objects[objarr[i]].xdir.y=anim_data[globalFrame*15*objcnt+15*i+4];\r\n\troom.objects[objarr[i]].xdir.z=anim_data[globalFrame*15*objcnt+15*i+5];\r\n\troom.objects[objarr[i]].ydir.x=anim_data[globalFrame*15*objcnt+15*i+6];\r\n\troom.objects[objarr[i]].ydir.y=anim_data[globalFrame*15*objcnt+15*i+7];\r\n\troom.objects[objarr[i]].ydir.z=anim_data[globalFrame*15*objcnt+15*i+8];\r\n\troom.objects[objarr[i]].zdir.x=anim_data[globalFrame*15*objcnt+15*i+9];\r\n\troom.objects[objarr[i]].zdir.y=anim_data[globalFrame*15*objcnt+15*i+10];\r\n\troom.objects[objarr[i]].zdir.z=anim_data[globalFrame*15*objcnt+15*i+11];\r\n\troom.objects[objarr[i]].scale.x=anim_data[globalFrame*15*objcnt+15*i+12];\r\n\troom.objects[objarr[i]].scale.y=anim_data[globalFrame*15*objcnt+15*i+13];\r\n\troom.objects[objarr[i]].scale.z=anim_data[globalFrame*15*objcnt+15*i+14];"}}
{"actor":{"display_login":"jbaicoianu"}}