All files / Sources/Proxy/Core/PiecewiseFunctionProxy Constants.js

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 231x                       1x                    
const Defaults = {
  Gaussians: [{ position: 0.5, height: 1, width: 0.5, xBias: 0.5, yBias: 0.5 }],
  Points: [
    [0, 0],
    [1, 1],
  ],
  Nodes: [
    { x: 0, y: 0, midpoint: 0.5, sharpness: 0 },
    { x: 1, y: 1, midpoint: 0.5, sharpness: 0 },
  ],
};
 
const Mode = {
  Gaussians: 0,
  Points: 1,
  Nodes: 2,
};
 
export default {
  Defaults,
  Mode,
};