@mml-io/3d-web-client-core 0.0.0-experimental-bc97b49-20240609 → 0.0.0-experimental-d03a2e8-20240611

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/build/index.js CHANGED
@@ -1231,7 +1231,7 @@ import {
1231
1231
  } from "three";
1232
1232
 
1233
1233
  // src/character/CanvasText.ts
1234
- import { Texture as Texture2, LinearFilter, RGBAFormat, MeshBasicMaterial } from "three";
1234
+ import { Texture, LinearFilter, RGBAFormat, MeshBasicMaterial } from "three";
1235
1235
  function getTextAlignOffset(textAlign, width) {
1236
1236
  switch (textAlign) {
1237
1237
  case "center":
@@ -1332,7 +1332,7 @@ function CanvasText(message, options) {
1332
1332
  }
1333
1333
  function THREECanvasTextTexture(text, options) {
1334
1334
  const canvas2 = CanvasText(text, options);
1335
- const texture = new Texture2(canvas2);
1335
+ const texture = new Texture(canvas2);
1336
1336
  texture.minFilter = LinearFilter;
1337
1337
  texture.magFilter = LinearFilter;
1338
1338
  texture.format = RGBAFormat;
@@ -5804,13 +5804,13 @@ var CollisionsManager = class {
5804
5804
  // src/ground-plane/GroundPlane.ts
5805
5805
  import {
5806
5806
  CanvasTexture,
5807
- CircleGeometry as CircleGeometry2,
5808
5807
  FrontSide as FrontSide2,
5809
5808
  Group as Group6,
5810
5809
  LinearMipMapLinearFilter,
5811
5810
  Mesh as Mesh6,
5812
5811
  MeshStandardMaterial as MeshStandardMaterial3,
5813
5812
  NearestFilter as NearestFilter2,
5813
+ PlaneGeometry as PlaneGeometry2,
5814
5814
  RepeatWrapping as RepeatWrapping2
5815
5815
  } from "three";
5816
5816
  var canvas = document.createElement("canvas");
@@ -5827,7 +5827,7 @@ var GroundPlane = class extends Group6 {
5827
5827
  super();
5828
5828
  this.floorSize = 210;
5829
5829
  this.floorTexture = null;
5830
- this.floorGeometry = new CircleGeometry2(this.floorSize, this.floorSize);
5830
+ this.floorGeometry = new PlaneGeometry2(this.floorSize, this.floorSize, 1, 1);
5831
5831
  this.floorMesh = null;
5832
5832
  this.floorMaterial = new MeshStandardMaterial3({
5833
5833
  color: 16777215,