UNPKG

janusweb

Version:
29 lines (27 loc) 875 B
elation.require([], function() { elation.component.add('janusweb.translators.blank', function() { this.exec = function(args) { return new Promise(function(resolve, reject) { var roomdata = { room: { use_local_asset: 'room_plane', pos: [0, 0, 0], orientation: new THREE.Quaternion().setFromEuler(new THREE.Euler(0,0,0)), skybox_left_id: 'black', skybox_right_id: 'black', skybox_back_id: 'black', skybox_front_id: 'black', skybox_up_id: 'black', skybox_down_id: 'black', private: true, title: 'about:blank' }, object: [], link: [] }; //var bookmarks = elation.collection.localindexed({key: 'janusweb.bookmarks'}); resolve(roomdata); }); } }); });