@needle-tools/three 0.169.18 → 0.169.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/three",
3
- "version": "0.169.18",
3
+ "version": "0.169.19",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.cjs",
package/src/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- export const REVISION = '169.18';
1
+ export const REVISION = '169.19';
2
2
 
3
3
  export const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
4
4
  export const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
@@ -108,7 +108,7 @@ function WebGLRenderList() {
108
108
 
109
109
  const renderItem = getNextRenderItem( object, geometry, material, groupOrder, z, group );
110
110
 
111
- object.onBeforeRenderListPush( object, geometry, material, group );
111
+ object.onBeforeRenderListPush?.( object, geometry, material, group );
112
112
 
113
113
  if ( material.transmission > 0.0 ) {
114
114
 
@@ -124,7 +124,7 @@ function WebGLRenderList() {
124
124
 
125
125
  }
126
126
 
127
- object.onAfterRenderListPush( object, geometry, material, group );
127
+ object.onAfterRenderListPush?.( object, geometry, material, group );
128
128
 
129
129
  }
130
130