[p5.js 2.0] Vector refactor n-dimentional and Matrix class extraction #5133
Annotations
9 errors and 2 warnings
test/unit/io/loadModel.js > loadModel > loads OBJ file with associated MTL file correctly:
src/webgl/loading.js#L575
TypeError: Vector is not a constructor
❯ parseObj src/webgl/loading.js:575:26
❯ fn.loadModel src/webgl/loading.js:456:9
❯ test/unit/io/loadModel.js:48:19
|
test/unit/io/loadModel.js > loadModel > inconsistent vertex coloring throws error:
test/unit/io/loadModel.js#L82
AssertionError: expected [Function] to throw error including 'Model coloring is inconsistent. Eithe…' but got 'Vector is not a constructor'
Expected: "Model coloring is inconsistent. Either all vertices should have colors or none should."
Received: "Vector is not a constructor"
❯ test/unit/io/loadModel.js:82:5
|
test/unit/io/loadModel.js > loadModel > missing MTL file shows OBJ model without vertexColors:
src/webgl/loading.js#L575
TypeError: Vector is not a constructor
❯ parseObj src/webgl/loading.js:575:26
❯ fn.loadModel src/webgl/loading.js:456:9
❯ test/unit/io/loadModel.js:88:19
|
test/unit/io/loadModel.js > loadModel > returns an object with correct data:
src/webgl/loading.js#L575
TypeError: Vector is not a constructor
❯ parseObj src/webgl/loading.js:575:26
❯ fn.loadModel src/webgl/loading.js:456:9
❯ test/unit/io/loadModel.js:94:19
|
test/unit/io/loadModel.js > loadModel > passes an object with correct data to callback:
src/webgl/loading.js#L575
TypeError: Vector is not a constructor
❯ parseObj src/webgl/loading.js:575:26
❯ fn.loadModel src/webgl/loading.js:456:9
❯ test/unit/io/loadModel.js:99:5
|
test/unit/io/loadModel.js > loadModel > resolves STL file correctly:
src/webgl/loading.js#L881
TypeError: Vector is not a constructor
❯ parseASCIISTL src/webgl/loading.js:881:25
❯ parseSTL src/webgl/loading.js:696:7
❯ fn.loadModel src/webgl/loading.js:431:9
❯ test/unit/io/loadModel.js:105:19
|
test/unit/io/loadModel.js > loadModel > resolves STL file correctly with explicit extension:
src/webgl/loading.js#L881
TypeError: Vector is not a constructor
❯ parseASCIISTL src/webgl/loading.js:881:25
❯ parseSTL src/webgl/loading.js:696:7
❯ fn.loadModel src/webgl/loading.js:431:9
❯ test/unit/io/loadModel.js:110:19
|
test/unit/io/loadModel.js > loadModel > resolves STL file correctly with case insensitive extension:
src/webgl/loading.js#L881
TypeError: Vector is not a constructor
❯ parseASCIISTL src/webgl/loading.js:881:25
❯ parseSTL src/webgl/loading.js:696:7
❯ fn.loadModel src/webgl/loading.js:431:9
❯ test/unit/io/loadModel.js:115:19
|
test
Process completed with exit code 1.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|