@shapediver/viewer.shared.math
Advanced tools
Comparing version 2.7.8 to 2.7.9
@@ -111,3 +111,3 @@ "use strict"; | ||
const length = (Math.floor(array.length / 3) * 3); | ||
const byteStride = (stride && stride !== bytes) ? stride : 3; | ||
const byteStride = (stride && stride !== bytes) ? +stride : 3; | ||
for (let i = 0; i < length; i += byteStride) { | ||
@@ -114,0 +114,0 @@ let point = gl_matrix_1.vec4.transformMat4(gl_matrix_1.vec4.create(), gl_matrix_1.vec4.fromValues(array[i], array[i + 1], array[i + 2], 1), matrix); |
{ | ||
"name": "@shapediver/viewer.shared.math", | ||
"version": "2.7.8", | ||
"version": "2.7.9", | ||
"description": "", | ||
@@ -42,7 +42,7 @@ "keywords": [], | ||
"dependencies": { | ||
"@shapediver/viewer.shared.services": "2.7.8", | ||
"@shapediver/viewer.shared.services": "2.7.9", | ||
"gl-matrix": "3.3.0", | ||
"tsyringe": "^4.5.0" | ||
}, | ||
"gitHead": "6e5e192880ba77d782cda0236302a92767397b30" | ||
"gitHead": "eeddc9b2e9837296a03711e7f5b5bfcab9b50d82" | ||
} |
@@ -136,3 +136,3 @@ import { mat4, vec3, vec4 } from 'gl-matrix' | ||
const length = (Math.floor(array.length / 3) * 3); | ||
const byteStride = (stride && stride !== bytes) ? stride : 3; | ||
const byteStride = (stride && stride !== bytes) ? +stride : 3; | ||
for (let i = 0; i < length; i += byteStride) { | ||
@@ -139,0 +139,0 @@ let point = vec4.transformMat4(vec4.create(), vec4.fromValues(array[i], array[i + 1], array[i + 2], 1), matrix); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79867
+ Added@shapediver/viewer.shared.build-data@2.7.9(transitive)
+ Added@shapediver/viewer.shared.services@2.7.9(transitive)
- Removed@shapediver/viewer.shared.build-data@2.7.8(transitive)
- Removed@shapediver/viewer.shared.services@2.7.8(transitive)