jpweeks/particulate-js

View on GitHub
src/constraints/PlaneConstraint.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _calculateNormal has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

PlaneConstraint.prototype._calculateNormal = function (index, p0) {
  var b0 = this.bufferVec3
  var ii = this.indices
  var ai = ii[0], bi = ii[1], ci = ii[2]

Severity: Minor
Found in src/constraints/PlaneConstraint.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status