UNPKG

@polygonjs/polygonjs

Version:

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

10 lines (9 loc) 268 B
"use strict"; import CycleMethods from "./gl/cycle.glsl"; import { MathFunctionArg3Factory } from "./_Math_Arg3"; export class CycleGlNode extends MathFunctionArg3Factory("cycle", { in: ["in", "min", "max"], default: { max: 1 }, functions: [CycleMethods] }) { }