spoint 0.1.37 → 0.1.38

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/client/app.js +3 -0
  2. package/package.json +1 -1
package/client/app.js CHANGED
@@ -616,6 +616,9 @@ sun.shadow.camera.near = 0.5; sun.shadow.camera.far = 200
616
616
  scene.add(sun)
617
617
  scene.add(sun.target)
618
618
 
619
+ const _warmupPointLight = new THREE.PointLight(0xffffff, 0, 1)
620
+ scene.add(_warmupPointLight)
621
+
619
622
  function fitShadowFrustum() {
620
623
  const box = new THREE.Box3()
621
624
  scene.traverse(o => { if (o.isMesh && (o.castShadow || o.receiveShadow) && o.geometry) box.expandByObject(o) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoint",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "Physics and netcode SDK for multiplayer game servers",
5
5
  "type": "module",
6
6
  "main": "src/index.js",