From d31d23a51f832235eded90bc9979c57e72c88043 Mon Sep 17 00:00:00 2001 From: DrX3D Date: Thu, 10 Mar 2016 20:55:03 -0800 Subject: [PATCH] Added files via upload Added license to each file --- display.js | 31 ++++++++++++++++++++++++++++++- example.html | 23 +++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/display.js b/display.js index b3f7a5e..eb59ee1 100644 --- a/display.js +++ b/display.js @@ -1,4 +1,33 @@ -// --> Holds information about an X3D scene that can be used for device-controlled display orientation +/* + * Holds information about an X3D scene that can be used for device-controlled display orientation + * This is prototype software and may change at any time without warning + * An effort will be made to maintain backward compatibility + + +LICENSE +The MIT License (MIT) + +Copyright (c) 2016 DrX3D + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + */ + function DeviceDisplay (x3dId, transformCompass, transformTilt, transformSpin, name, active, rlt, rrt) { if (x3dId == '') {return null; } this.x3d = x3dId; diff --git a/example.html b/example.html index 213951e..e208a9b 100644 --- a/example.html +++ b/example.html @@ -8,6 +8,29 @@ to the same directory as this file. x3dom needs to be at least V1.5. You can get the library at http://x3dom.org/ + +LICENSE +The MIT License (MIT) + +Copyright (c) 2016 DrX3D + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -->