MCPcopy
hub / github.com/jscad/OpenJSCAD.org / fix

Function fix

src/ui/viewer/lightgl.js:547–549  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

545 }
546
547 function fix(x) {
548 return x + (x - x * x) / 2;
549 }
550 options = options || {};
551 var mesh = new Mesh(options);
552 var indexer = new Indexer(),

Callers 2

lightgl.jsFile · 0.85
ShaderFunction · 0.85

Calls 1

regexMapFunction · 0.85

Tested by

no test coverage detected