x_ite-sog-parser 1.1.0 → 1.1.2
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,10 +13,10 @@ Include the script after X_ITE:
|
|
|
13
13
|
|
|
14
14
|
```html
|
|
15
15
|
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
|
|
16
|
-
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@1.1.
|
|
16
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@1.1.2/dist/x_ite-sog-parser-2.min.js"></script>
|
|
17
17
|
<!-- or as ES module -->
|
|
18
18
|
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>
|
|
19
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@1.1.
|
|
19
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@1.1.2/dist/x_ite-sog-parser-2.min.js"></script>
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
Now you can directly load `.sog` files with the `src` attribute, but you also have to add the `extensions` attribute with a number, how many X_ITE extension you have included. Each extension will decrease this count and when it becomes `0`, the canvas knows that all extensions are loaded and now starts loading the file in the `src` attribute.
|
|
@@ -24,7 +24,7 @@ Now you can directly load `.sog` files with the `src` attribute, but you also ha
|
|
|
24
24
|
You can also use `.sog` files as source of an Inline node.
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
|
-
<x3d-canvas
|
|
27
|
+
<x3d-canvas src="room.sog" extensions="1"></x3d-canvas>
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## NPM
|