matrix-engine-wgpu 1.2.4 → 1.2.6

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/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Nikola Lukic zlatnaspirala@gmail.com mart 2024
4
4
  * npm import/export
5
5
  */
6
- import { degToRad } from "wgpu-matrix";
6
+ // import {degToRad, radToDeg} from "./utils";
7
7
  import {downloadMeshes} from "./src/engine/loader-obj.js";
8
8
  import MatrixEngineWGPU from "./src/world.js";
9
9
  import {addRaycastListener, getRayFromMouse, rayIntersectsSphere} from "./src/engine/raycast.js";
@@ -25,6 +25,5 @@ export {
25
25
  rayIntersectsSphere,
26
26
  getRayFromMouse,
27
27
  addRaycastListener,
28
- degToRad,
29
28
  about
30
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matrix-engine-wgpu",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "+HOTFIX raycast, webGPU powered pwa application. Crazy fast rendering with AmmoJS physics support. Simple raycaster hit object added.",
5
5
  "main": "index.js",
6
6
  "files": ["./src"],
@@ -4,8 +4,8 @@ import {createInputHandler} from "./engine";
4
4
  import {vertexShadowWGSL} from '../shaders/vertexShadow.wgsl';
5
5
  import {fragmentWGSL} from '../shaders/fragment.wgsl';
6
6
  import {vertexWGSL} from '../shaders/vertex.wgsl';
7
- import {degToRad, genName, LOG_FUNNY, LOG_FUNNY_SMALL, LOG_INFO} from './utils';
8
- import {checkingProcedure, checkingRay, touchCoordinate} from './raycast';
7
+ import {degToRad, genName, LOG_FUNNY_SMALL} from './utils';
8
+ // import {checkingProcedure, checkingRay, touchCoordinate} from './raycast';
9
9
 
10
10
  export default class MEMeshObj {
11
11
  constructor(canvas, device, context, o) {