UNPKG

@polygonjs/polygonjs

Version:

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

12 lines (10 loc) 238 B
/** * returns the math function cos(x) * * */ import {MathFunctionArg1OperationFactory} from './_Math_Arg1Operation'; export class CosJsNode extends MathFunctionArg1OperationFactory('cos', { inputPrefix: 'angle', out: 'cos', }) {}