@needle-tools/three 0.169.17 → 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.17",
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.17';
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,6 +108,8 @@ function WebGLRenderList() {
108
108
 
109
109
  const renderItem = getNextRenderItem( object, geometry, material, groupOrder, z, group );
110
110
 
111
+ object.onBeforeRenderListPush?.( object, geometry, material, group );
112
+
111
113
  if ( material.transmission > 0.0 ) {
112
114
 
113
115
  transmissive.push( renderItem );
@@ -122,6 +124,8 @@ function WebGLRenderList() {
122
124
 
123
125
  }
124
126
 
127
+ object.onAfterRenderListPush?.( object, geometry, material, group );
128
+
125
129
  }
126
130
 
127
131
  function unshift( object, geometry, material, groupOrder, z, group ) {