@adatechnology/game-interactables-three 0.4.0 → 0.4.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.
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.global.js
CHANGED
|
@@ -342,7 +342,7 @@ void main() {
|
|
|
342
342
|
depthWrite: false,
|
|
343
343
|
blending: additive ? THREE.AdditiveBlending : THREE.NormalBlending
|
|
344
344
|
});
|
|
345
|
-
const points = new THREE.Points(geo, mat);
|
|
345
|
+
const points = markKitOrigin(new THREE.Points(geo, mat), { owner: "game-interactables-three", kind: "effect", id: kind });
|
|
346
346
|
points.frustumCulled = false;
|
|
347
347
|
points.name = `effects:${kind}`;
|
|
348
348
|
scene.add(points);
|