@predy-js/math 0.1.83-beta.10 → 0.1.83-beta.11

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.js CHANGED
@@ -753,12 +753,6 @@ function vec3Create(v) {
753
753
  }
754
754
  return [0, 0, 0];
755
755
  }
756
- function vec3MulVec3(out, a, b) {
757
- out[0] = a[0] * b[0];
758
- out[1] = a[1] * b[1];
759
- out[2] = a[2] * b[2];
760
- return out;
761
- }
762
756
  function vec3AddVec3(out, a, b) {
763
757
  out[0] = a[0] + b[0];
764
758
  out[1] = a[1] + b[1];
@@ -961,7 +955,6 @@ exports.vec3Cross = vec3Cross;
961
955
  exports.vec3MulMat3 = vec3MulMat3;
962
956
  exports.vec3MulMat4 = vec3MulMat4;
963
957
  exports.vec3MulNum = vec3MulNum;
964
- exports.vec3MulVec3 = vec3MulVec3;
965
958
  exports.vec3RotateByMat4 = vec3RotateByMat4;
966
959
  exports.vec3RotateByQuat = vec3RotateByQuat;
967
960
  exports.vec3TranslateByMat4 = vec3TranslateByMat4;
package/dist/index.mjs CHANGED
@@ -749,12 +749,6 @@ function vec3Create(v) {
749
749
  }
750
750
  return [0, 0, 0];
751
751
  }
752
- function vec3MulVec3(out, a, b) {
753
- out[0] = a[0] * b[0];
754
- out[1] = a[1] * b[1];
755
- out[2] = a[2] * b[2];
756
- return out;
757
- }
758
752
  function vec3AddVec3(out, a, b) {
759
753
  out[0] = a[0] + b[0];
760
754
  out[1] = a[1] + b[1];
@@ -916,4 +910,4 @@ function quatStar(out, quat) {
916
910
  return out;
917
911
  }
918
912
 
919
- export { NumberEpsilon, clamp, ensureVec3, getMat4TR, getMat4TRS, invertMat4, isZeroVec, mat3FromQuat, mat3FromRotation, mat3FromRotationZ, mat3MulMat3, mat3NormalFromMat4, mat3Rotate, mat3Scale, mat3Translate, mat3create, mat4Clone, mat4Determinate, mat4create, mat4fromRotationTranslationScale, mat4identity, mat4invert, mat4multiply, mat4perspective, mat4rotate, mat4scale, mat4translate, quatCreate, quatEquals, quatFromRotation, quatMultiply, quatStar, rotateVec2, rotationFromMat3, vec2TransformByMat3, vec3AddVec3, vec3Create, vec3Cross, vec3MulMat3, vec3MulMat4, vec3MulNum, vec3MulVec3, vec3RotateByMat4, vec3RotateByQuat, vec3TranslateByMat4, vecAdd, vecAddCombine, vecAssign, vecDot, vecFill, vecMinus, vecMulCombine, vecMulScalar, vecNormalize, vecSquareDistance };
913
+ export { NumberEpsilon, clamp, ensureVec3, getMat4TR, getMat4TRS, invertMat4, isZeroVec, mat3FromQuat, mat3FromRotation, mat3FromRotationZ, mat3MulMat3, mat3NormalFromMat4, mat3Rotate, mat3Scale, mat3Translate, mat3create, mat4Clone, mat4Determinate, mat4create, mat4fromRotationTranslationScale, mat4identity, mat4invert, mat4multiply, mat4perspective, mat4rotate, mat4scale, mat4translate, quatCreate, quatEquals, quatFromRotation, quatMultiply, quatStar, rotateVec2, rotationFromMat3, vec2TransformByMat3, vec3AddVec3, vec3Create, vec3Cross, vec3MulMat3, vec3MulMat4, vec3MulNum, vec3RotateByMat4, vec3RotateByQuat, vec3TranslateByMat4, vecAdd, vecAddCombine, vecAssign, vecDot, vecFill, vecMinus, vecMulCombine, vecMulScalar, vecNormalize, vecSquareDistance };
package/dist/vec3.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import type { vec3, mat4, mat3 } from '@predy-js/render-interface';
2
2
  import type { vec4 } from '@predy-js/render-interface';
3
3
  export declare function vec3Create(v?: vec3): vec3;
4
- export declare function vec3MulVec3(out: vec3, a: vec3, b: vec3): vec3;
5
4
  export declare function vec3AddVec3(out: vec3, a: vec3, b: vec3): vec3;
6
5
  export declare function vec3Cross(out: vec3, a: vec3, b: vec3): vec3;
7
6
  export declare function vec3MulMat4(out: vec3, vec3: vec3, mat4: mat4): vec3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@predy-js/math",
3
- "version": "0.1.83-beta.10",
3
+ "version": "0.1.83-beta.11",
4
4
  "description": "Mars JSON Specification",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "prepublishOnly": "npm run build"
29
29
  },
30
30
  "devDependencies": {
31
- "@predy-js/render-interface": "0.1.83-beta.6",
31
+ "@predy-js/render-interface": "0.1.83-beta.11",
32
32
  "@commitlint/cli": "^13.2.1",
33
33
  "@commitlint/config-conventional": "^13.2.0",
34
34
  "@rollup/plugin-commonjs": "^21.0.3",