@1pizzateam/roostr 0.8.0 → 0.8.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/roostr.d.ts CHANGED
@@ -509,7 +509,7 @@ declare class Camera {
509
509
  setViewMatrix(): void;
510
510
  setProjectionMatrix(): void;
511
511
  private invalidateProjectionView;
512
- getProjectionViewMatrix(): Float32Array;
512
+ getProjectionViewMatrix(): Mat4;
513
513
  getInverseProjectionViewMatrix(): Mat4;
514
514
  setPosition(position: Vec3): void;
515
515
  setTarget(target: Vec3): void;
package/dist/roostr.js CHANGED
@@ -1038,7 +1038,7 @@ class Camera {
1038
1038
  this.projectionViewMatrix.copy(this.projectionMatrix).multiplyAffine(this.viewMatrix);
1039
1039
  this.isProjectionViewDirty = false;
1040
1040
  }
1041
- return this.projectionViewMatrix.toArray();
1041
+ return this.projectionViewMatrix;
1042
1042
  }
1043
1043
  getInverseProjectionViewMatrix() {
1044
1044
  if (this.isInverseDirty) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1pizzateam/roostr",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "WebGL 3D engine written in TypeScript",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -62,6 +62,6 @@
62
62
  "typescript": "6.0.3"
63
63
  },
64
64
  "dependencies": {
65
- "@1pizzateam/spock": "4.3.0"
65
+ "@1pizzateam/spock": "4.4.0"
66
66
  }
67
67
  }