UNPKG

polygonjs-engine

Version:

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

9 lines (7 loc) 248 B
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], }) {}