UNPKG

three

Version:

JavaScript 3D library

23 lines (13 loc) 330 B
class NodeFunction { constructor( type, inputs, name = '', precision = '' ) { this.type = type; this.inputs = inputs; this.name = name; this.precision = precision; } getCode( /*name = this.name*/ ) { console.warn( 'Abstract function.' ); } } NodeFunction.isNodeFunction = true; export default NodeFunction;