UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

14 lines (13 loc) 472 B
"use strict"; import { Poly } from "../../Poly"; import { MathFunctionArg1OperationFactory } from "./_Math_Arg1Operation"; const FUNCTION_NAME = "complement"; export class ComplementJsNode extends MathFunctionArg1OperationFactory("complement", { inputPrefix: "in", out: "out" }) { _coreFunction(shadersCollectionController) { Poly.namedFunctionsRegister.getFunction(FUNCTION_NAME, this, shadersCollectionController).asString(""); return FUNCTION_NAME; } }