[p5.js 2.0] Vector refactor n-dimentional and Matrix class extraction #5196
Annotations
9 errors and 1 warning
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|