Skip to content

Commit

Permalink
Bump release v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
altspaceautobot committed Apr 19, 2016
1 parent 7a00765 commit 6ad2d27
Show file tree
Hide file tree
Showing 7 changed files with 252 additions and 23 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The AltspaceVR SDK can be used together with [three.js] to create holographic, multi-user web apps for virtual reality. When running inside [AltspaceVR](http://altvr.com/) they can be experienced with consumer VR hardware including the Oculus Rift DK2.

**Latest Version: v0.9.0 -- [See Changes](https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v0.9.0)**
**Latest Version: v0.9.1 -- [See Changes](https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v0.9.1)**

<!--
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand Down Expand Up @@ -33,7 +33,7 @@ Many APIs are present in the client without loading `altspace.js`, but please st

Include the latest version of altspace in your app with:

`<script src="http://sdk.altvr.com/libs/altspace.js/0.9.0/altspace.min.js"></script>`
`<script src="http://sdk.altvr.com/libs/altspace.js/0.9.1/altspace.min.js"></script>`

If you use npm, you can install altspace.js with:

Expand Down Expand Up @@ -88,7 +88,7 @@ The Debugger is essentially a remote Chrome inspector for AltspaceVR browsers.
> Note that you cannot rename the OSX Debugger from Debugger.app after you extract it, or it won’t run due to legacy .app bundle structure — it needs an Info.plist with metadata.
## Three.js Feature Support
Altspace supports Three.js r69 to r73. r73 is recommended.
Altspace supports Three.js r73 to r74. r74 is recommended.

**Currently supported:**
* Object3D transformation and hierarchy
Expand Down
103 changes: 100 additions & 3 deletions dist/altspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,104 @@
}
}(this, function(THREE) {

(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
module.exports = { "default": require("core-js/library/fn/object/define-property"), __esModule: true };
},{"core-js/library/fn/object/define-property":4}],2:[function(require,module,exports){
"use strict";

exports["default"] = function (instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
};

exports.__esModule = true;
},{}],3:[function(require,module,exports){
"use strict";

var _Object$defineProperty = require("babel-runtime/core-js/object/define-property")["default"];

exports["default"] = (function () {
function defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;

_Object$defineProperty(target, descriptor.key, descriptor);
}
}

return function (Constructor, protoProps, staticProps) {
if (protoProps) defineProperties(Constructor.prototype, protoProps);
if (staticProps) defineProperties(Constructor, staticProps);
return Constructor;
};
})();

exports.__esModule = true;
},{"babel-runtime/core-js/object/define-property":1}],4:[function(require,module,exports){
var $ = require('../../modules/$');
module.exports = function defineProperty(it, key, desc){
return $.setDesc(it, key, desc);
};
},{"../../modules/$":5}],5:[function(require,module,exports){
var $Object = Object;
module.exports = {
create: $Object.create,
getProto: $Object.getPrototypeOf,
isEnum: {}.propertyIsEnumerable,
getDesc: $Object.getOwnPropertyDescriptor,
setDesc: $Object.defineProperty,
setDescs: $Object.defineProperties,
getKeys: $Object.keys,
getNames: $Object.getOwnPropertyNames,
getSymbols: $Object.getOwnPropertySymbols,
each: [].forEach
};
},{}],6:[function(require,module,exports){
'use strict';

var _createClass = require('babel-runtime/helpers/create-class')['default'];

var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];

if (!window.altspace) {
window.altspace = {};
}
if (!window.altspace.utilities) {
window.altspace.utilities = {};
}
if (!window.altspace.utilities.shims) {
window.altspace.utilities.shims = {};
}

var OBJMTLLoader = (function () {
function OBJMTLLoader() {
_classCallCheck(this, OBJMTLLoader);
}

_createClass(OBJMTLLoader, [{
key: 'load',
value: function load(objFile, mtlFile, callback) {
var mtlLoader = new THREE.MTLLoader();
var baseUrl = mtlFile.split('/').slice(0, -1).join('/');
mtlLoader.setBaseUrl(baseUrl + '/');
mtlLoader.load(mtlFile, function (materials) {
var objLoader = new THREE.OBJLoader();
objLoader.setMaterials(materials);
objLoader.load(objFile, callback);
});
}
}]);

return OBJMTLLoader;
})();

window.altspace.utilities.shims.OBJMTLLoader = OBJMTLLoader;
},{"babel-runtime/helpers/class-call-check":2,"babel-runtime/helpers/create-class":3}]},{},[6]);

(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function (global){
/**
Expand Down Expand Up @@ -3241,7 +3339,6 @@ window.altspace.utilities = window.altspace.utilities || {};


altspace.utilities.multiloader = (function(){

var loader;
var TRACE;
var baseUrl = '';
Expand Down Expand Up @@ -3273,7 +3370,7 @@ altspace.utilities.multiloader = (function(){
if (p.baseUrl) baseUrl = p.baseUrl;
if (baseUrl.slice(-1) !== '/') baseUrl += '/';

loader = new THREE.OBJMTLLoader();
loader = new altspace.utilities.shims.OBJMTLLoader();
loader.crossOrigin = crossOrigin;
if (TRACE) console.log('MultiLoader initialized with params', params);
}
Expand Down Expand Up @@ -11077,7 +11174,7 @@ window.altspace.utilities.behaviors.SteamVRTrackedObject = SteamVRTrackedObjectB

(function () {

var version = '0.9.0';
var version = '0.9.1';

if (window.altspace && window.altspace.requestVersion) {
window.altspace.requestVersion(version);
Expand Down
20 changes: 10 additions & 10 deletions dist/altspace.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/maps/altspace.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-al
<section class="readme">
<article><h1 id="altspacevr-sdk">AltspaceVR SDK</h1>
<p>The AltspaceVR SDK can be used together with <a href="http://threejs.org/">three.js</a> to create holographic, multi-user web apps for virtual reality. When running inside <a href="http://altvr.com/">AltspaceVR</a> they can be experienced with consumer VR hardware including the Oculus Rift DK2. </p>
<p><strong>Latest Version: v0.9.0 -- <a href="https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v0.9.0">See Changes</a></strong> </p>
<p><strong>Latest Version: v0.9.1 -- <a href="https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v0.9.1">See Changes</a></strong> </p>
<!--
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
THIS FILE IS GENERATED FROM README.md.template. EDIT THAT INSTEAD
Expand All @@ -63,7 +63,7 @@ <h2 id="altspace-js">altspace.js</h2>
<p>Many APIs are present in the client without loading <code>altspace.js</code>, but please still include it, as this may change in the future. </p>
<p><strong>The version baked into the altspace.js script you include will determine which version of the entire SDK that the client will provide your app.</strong> This means that if we make any breaking internal changes to things like rendering or cursor events, and you are using an older version of <code>altspace.js</code> we will try to return legacy behavior appropriate to your version of <code>altspace.js</code>. Versioning will follow <a href="http://semver.org/">SEMVER</a> as closely as possible. Details for each version can be found in the <a href="https://github.com/AltspaceVR/AltspaceSDK/releases">Release Notes</a>.</p>
<p>Include the latest version of altspace in your app with:</p>
<p><code>&lt;script src=&quot;http://sdk.altvr.com/libs/altspace.js/0.9.0/altspace.min.js&quot;&gt;&lt;/script&gt;</code></p>
<p><code>&lt;script src=&quot;http://sdk.altvr.com/libs/altspace.js/0.9.1/altspace.min.js&quot;&gt;&lt;/script&gt;</code></p>
<p>If you use npm, you can install altspace.js with:</p>
<p><code>npm install altspace</code></p>
<h2 id="api-overview">API Overview</h2>
Expand Down Expand Up @@ -111,7 +111,7 @@ <h2 id="debugger">Debugger</h2>
<p>Note that you cannot rename the OSX Debugger from Debugger.app after you extract it, or it won’t run due to legacy .app bundle structure — it needs an Info.plist with metadata. </p>
</blockquote>
<h2 id="three-js-feature-support">Three.js Feature Support</h2>
<p>Altspace supports Three.js r69 to r73. r73 is recommended.</p>
<p>Altspace supports Three.js r73 to r74. r74 is recommended.</p>
<p><strong>Currently supported:</strong></p>
<ul>
<li>Object3D transformation and hierarchy</li>
Expand Down
136 changes: 134 additions & 2 deletions doc/module-altspace.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ <h4 class="name" id="getSpace"><span class="type-signature">(static) </span>getS


<div class="description">
<p>Gets the space for the app. The resulting promise resolves to an
[Enclosure]{@link module:altspace~Space</p>
<p>Gets the space that the app is running in. The resulting promise resolves to a
<a href="module-altspace.html#Space">Space</a></p>
</div>


Expand Down Expand Up @@ -930,6 +930,138 @@ <h5 class="subsection-title">Properties:</h5>















</dl>








<h4 class="name" id="Space">Space</h4>




<div class="description">
<p>Details of a user.</p>
</div>







<h5 class="subsection-title">Properties:</h5>



<table class="props">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>sid</code></td>


<td class="type">


<span class="param-type">String</span>



</td>





<td class="description last"><p>Unique id for this space.</p></td>
</tr>



<tr>

<td class="name"><code>name</code></td>


<td class="type">


<span class="param-type">String</span>



</td>





<td class="description last"><p>The space's display name.</p></td>
</tr>


</tbody>
</table>




<dl class="details">























Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "altspace",
"version": "0.9.0",
"version": "0.9.1",
"repository": "AltspaceVR/AltspaceSDK",
"main": "dist/altspace.js",
"dependencies": {
Expand Down

0 comments on commit 6ad2d27

Please sign in to comment.