three-render-objects 1.36.0 → 1.36.1

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.
@@ -247,7 +247,7 @@ var threeRenderObjects = Kapsule({
247
247
  }
248
248
  if (topObject !== state.hoverObj) {
249
249
  state.onHover(topObject, state.hoverObj, state.intersection);
250
- state.tooltip.content(topObject ? accessorFn(state.tooltipContent)(topObject) || null : null);
250
+ state.tooltip.content(topObject ? accessorFn(state.tooltipContent)(topObject, state.intersection) || null : null);
251
251
  state.hoverObj = topObject;
252
252
  }
253
253
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-render-objects",
3
- "version": "1.36.0",
3
+ "version": "1.36.1",
4
4
  "description": "Easy way to render ThreeJS objects with built-in interaction defaults",
5
5
  "license": "MIT",
6
6
  "type": "module",