x_ite-node 1.0.6 → 1.0.8

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x_ite-node",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Pure Node.js wrapper of X_ITE",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -58,7 +58,7 @@
58
58
  "node-localstorage": "^3.0.5",
59
59
  "nogl": "^1.1.0",
60
60
  "skia-canvas": "^1.0.2",
61
- "x_ite": "^10.5.12"
61
+ "x_ite": "^10.5.13"
62
62
  },
63
63
  "devDependencies": {
64
64
  "jest": "^29.7.0",
package/src/index.js CHANGED
@@ -328,6 +328,7 @@ X3D .createBrowser = function (url, parameter)
328
328
  {
329
329
  value: new X3D .X3DBrowser (element),
330
330
  enumerable: true,
331
+ writable: true,
331
332
  });
332
333
 
333
334
  element .browser .setBrowserOption ("LoadUrlObjects", false);
@@ -357,11 +358,17 @@ const glFunctions = Object .fromEntries ([
357
358
  "uniform1iv",
358
359
  "uniform2f",
359
360
  "uniform2fv",
361
+ "uniform2i",
362
+ "uniform2iv",
360
363
  "uniform3f",
361
364
  "uniform3fv",
365
+ "uniform3i",
366
+ "uniform3iv",
362
367
  "uniform4f",
363
368
  "uniform4fv",
369
+ "uniform4i",
364
370
  "uniform4iv",
371
+ "uniformMatrix2fv",
365
372
  "uniformMatrix3fv",
366
373
  "uniformMatrix4fv",
367
374
  "vertexAttribDivisor",