x_ite-vrml1-parser 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,24 +5,24 @@
5
5
  [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/x_ite-vrml1-parser/badge?style=rounded)](https://create3000.github.io/jsdelivr-download-stats/?username=create3000&repository=x_ite-vrml1-parser)
6
6
  [![npm Downloads](https://img.shields.io/npm/dm/x_ite-vrml1-parser)](https://npmtrends.com/x_ite-vrml1-parser)
7
7
 
8
- VRML1 File Format Parser for [X_ITE](https://create3000.github.io/x_ite/)
8
+ VRML 1.0 File Format Parser for [X_ITE](https://create3000.github.io/x_ite/)
9
9
 
10
10
  ## Usage
11
11
 
12
12
  Include the script before X_ITE:
13
13
 
14
14
  ```html
15
- <script defer src="https://cdn.jsdelivr.net/npm/x_ite-vrml1-parser@1.0.1/dist/x_ite-vrml1-parser.min.js"></script>
15
+ <script defer src="https://cdn.jsdelivr.net/npm/x_ite-vrml1-parser@1.0.3/dist/x_ite-vrml1-parser.min.js"></script>
16
16
  <script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
17
17
  <!-- or as ES module -->
18
- <script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-vrml1-parser@1.0.1/dist/x_ite-vrml1-parser.min.js"></script>
18
+ <script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-vrml1-parser@1.0.3/dist/x_ite-vrml1-parser.min.js"></script>
19
19
  <script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>
20
20
  ```
21
21
 
22
- You can now load VRML1 `.vrml` or `.wrl` files directly using the `src` attribute, but you can also use `.vrml` or `.wrl` files as source of an Inline node.
22
+ You can now load VRML 1.0 `.wrl` files directly using the `src` attribute, but you can also use `.wrl` files as source of an Inline node.
23
23
 
24
24
  ```html
25
- <x3d-canvas src="room.vrml"></x3d-canvas>
25
+ <x3d-canvas src="room.wrl"></x3d-canvas>
26
26
  ```
27
27
 
28
28
  ## NPM
@@ -1848,7 +1848,7 @@ class Transform extends BaseNode
1848
1848
 
1849
1849
  m .setTransform (this .fields .get ("translation"),
1850
1850
  this .fields .get ("rotation"),
1851
- this .fields .get ("scale"),
1851
+ this .fields .get ("scaleFactor"),
1852
1852
  this .fields .get ("scaleOrientation"),
1853
1853
  this .fields .get ("center"));
1854
1854
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x_ite-vrml1-parser",
3
- "version": "1.0.1",
4
- "description": "VRML1 File Format Parser for X_ITE",
3
+ "version": "1.0.3",
4
+ "description": "VRML 1.0 File Format Parser for X_ITE",
5
5
  "main": "dist/x_ite-vrml1-parser.js",
6
6
  "module": "dist/x_ite-vrml1-parser.js",
7
7
  "files": [