Skip to content

Commit 246a9fc

Browse files
committed
Version 2.0.0-beta
edit markdown; add and update public domain headers; edit Promise docs; edit package.json
1 parent ddf8ce2 commit 246a9fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+652
-445
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Written by Peter O. in 2015-2016. In the public domain.
1+
Written by Peter O. in 2015-2017. In the public domain.
22

33
Public domain dedication:
44

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Example
5757
.perspectiveAspect(45,0.1,100)
5858
// Move the camera back 40 units.
5959
.setLookAt([0,0,40]);
60-
sub.getLights().setDefaults();
60+
sub.getLights().setBasic();
6161
// Create a box mesh 10 units in size
6262
var mesh=H3DU.Meshes.createBox(10,20,20);
6363
// Create a shape based on the mesh and give it a red color
@@ -89,10 +89,9 @@ information about what has changed in this library.
8989
About
9090
-----------
9191

92-
Written in 2015-2016 by Peter O.
93-
9492
Any copyright is dedicated to the Public Domain.
9593
[http://creativecommons.org/publicdomain/zero/1.0/](http://creativecommons.org/publicdomain/zero/1.0/)
9694

97-
If you like this, you should donate to Peter O.
98-
at: [http://peteroupc.github.io/](http://peteroupc.github.io/)
95+
If you like this, you should donate to Peter O. (original author of
96+
the Public Domain HTML 3D Library) at:
97+
[http://peteroupc.github.io/](http://peteroupc.github.io/)

demos/animation-light.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
/* global Animators, H3DU, createWasher, makeFloor, rotateVec */
1616
// <!--
1717
/*
18-
Written by Peter O. in 2015.
19-
20-
Any copyright is dedicated to the Public Domain.
21-
http://creativecommons.org/publicdomain/zero/1.0/
22-
If you like this, you should donate to Peter O.
23-
at: http://peteroupc.github.io/
18+
Any copyright to this file is released to the Public Domain.
19+
http://creativecommons.org/publicdomain/zero/1.0/
20+
If you like this, you should donate
21+
to Peter O. (original author of
22+
the Public Domain HTML 3D Library) at:
23+
http://peteroupc.github.io/
2424
*/
2525

2626
// Create the 3D scene; find the HTML canvas and pass it

demos/animation.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
/* global Animators, H3DU, createWasher, makeFloor, rotateVec */
1616
// <!--
1717
/*
18-
Written by Peter O. in 2015.
19-
20-
Any copyright is dedicated to the Public Domain.
21-
http://creativecommons.org/publicdomain/zero/1.0/
22-
If you like this, you should donate to Peter O.
23-
at: http://peteroupc.github.io/
18+
Any copyright to this file is released to the Public Domain.
19+
http://creativecommons.org/publicdomain/zero/1.0/
20+
If you like this, you should donate
21+
to Peter O. (original author of
22+
the Public Domain HTML 3D Library) at:
23+
http://peteroupc.github.io/
2424
*/
2525

2626
// Create the 3D scene; find the HTML canvas and pass it

demos/animation.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
Any copyright to this file is released to the Public Domain.
3+
http://creativecommons.org/publicdomain/zero/1.0/
4+
If you like this, you should donate
5+
to Peter O. (original author of
6+
the Public Domain HTML 3D Library) at:
7+
http://peteroupc.github.io/
8+
*/
19
/* global H3DU */
210
/* exported createWasher */
311
function createWasher(inner, outer, height, slices) {

demos/background.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
/* global H3DU */
1414
// <!--
1515
/*
16-
Written by Peter O. in 2015.
17-
18-
Any copyright is dedicated to the Public Domain.
19-
http://creativecommons.org/publicdomain/zero/1.0/
20-
If you like this, you should donate to Peter O.
21-
at: http://peteroupc.github.io/
16+
Any copyright to this file is released to the Public Domain.
17+
http://creativecommons.org/publicdomain/zero/1.0/
18+
If you like this, you should donate
19+
to Peter O. (original author of
20+
the Public Domain HTML 3D Library) at:
21+
http://peteroupc.github.io/
2222
*/
2323

2424
var CanvasBackground = function(canvas) {

demos/builtinshapes.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
/* global H3DU */
3232
// <!--
3333
/*
34-
Written by Peter O. in 2015.
35-
36-
Any copyright is dedicated to the Public Domain.
37-
http://creativecommons.org/publicdomain/zero/1.0/
38-
If you like this, you should donate to Peter O.
39-
at: http://peteroupc.github.io/
34+
Any copyright to this file is released to the Public Domain.
35+
http://creativecommons.org/publicdomain/zero/1.0/
36+
If you like this, you should donate
37+
to Peter O. (original author of
38+
the Public Domain HTML 3D Library) at:
39+
http://peteroupc.github.io/
4040
*/
4141

4242
function createSampleShape(index) {

demos/clock.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
/* global H3DU */
2020
// <!--
2121
/*
22-
Written by Peter O. in 2015.
23-
24-
Any copyright is dedicated to the Public Domain.
25-
http://creativecommons.org/publicdomain/zero/1.0/
26-
If you like this, you should donate to Peter O.
27-
at: http://peteroupc.github.io/
22+
Any copyright to this file is released to the Public Domain.
23+
http://creativecommons.org/publicdomain/zero/1.0/
24+
If you like this, you should donate
25+
to Peter O. (original author of
26+
the Public Domain HTML 3D Library) at:
27+
http://peteroupc.github.io/
2828
*/
2929

3030
function ClockShape(scene) {

demos/compositeMesh.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
/* global H3DU */
1717
// <!--
1818
/*
19-
Written by Peter O. in 2015.
20-
21-
Any copyright is dedicated to the Public Domain.
22-
http://creativecommons.org/publicdomain/zero/1.0/
23-
If you like this, you should donate to Peter O.
24-
at: http://peteroupc.github.io/
19+
Any copyright to this file is released to the Public Domain.
20+
http://creativecommons.org/publicdomain/zero/1.0/
21+
If you like this, you should donate
22+
to Peter O. (original author of
23+
the Public Domain HTML 3D Library) at:
24+
http://peteroupc.github.io/
2525
*/
2626

2727
// Generate a composite mesh representing an arrow

demos/curves.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
/* global H3DU, addLink, makeMesh, pushSettings */
2323
// <!--
2424
/*
25-
Written by Peter O. in 2015.
26-
27-
Any copyright is dedicated to the Public Domain.
28-
http://creativecommons.org/publicdomain/zero/1.0/
29-
If you like this, you should donate to Peter O.
30-
at: http://peteroupc.github.io/
25+
Any copyright to this file is released to the Public Domain.
26+
http://creativecommons.org/publicdomain/zero/1.0/
27+
If you like this, you should donate
28+
to Peter O. (original author of
29+
the Public Domain HTML 3D Library) at:
30+
http://peteroupc.github.io/
3131
*/
3232

3333
var allsettings = {};

0 commit comments

Comments
 (0)