MCPcopy
hub / github.com/unconed/MathBox.js / make

Function make

src/primitives/Curve.js:57–62  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

55
56 // Instantiate renderables.
57 var make = function (type) {
58 return new MathBox.Renderable.Mesh(vertices, {
59 type: type,
60 dynamic: options.live,
61 }, style);
62 };
63
64 this.line = make('line');
65 this.points = make('points');

Callers 1

Curve.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected