hoverinc/ray-tracing-renderer

View on GitHub
src/renderer/StratifiedSampler.js

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Function makeStratifiedSampler has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function makeStratifiedSampler(strataCount, dimensions) {
  const strata = [];
  const l = strataCount ** dimensions;
  for (let i = 0; i < l; i++) {
    strata[i] = i;
Severity: Minor
Found in src/renderer/StratifiedSampler.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status