Home
last modified time | relevance | path

Searched refs:SINCOS_LENGTH (Results 1 – 1 of 1) sorted by relevance

/plugin/processing/
H A Dscript.js377 SINCOS_LENGTH: parseInt(360 / 0.5, 10), property in PConstants
1196 sinLUT = new Array(PConstants.SINCOS_LENGTH),
1197 cosLUT = new Array(PConstants.SINCOS_LENGTH),
6354 for (var i = 0; i < PConstants.SINCOS_LENGTH; i++) {
6974 var delta = PConstants.SINCOS_LENGTH / ures;
6979 cx[i] = cosLUT[parseInt((i * delta) % PConstants.SINCOS_LENGTH, 10)];
6980 cz[i] = sinLUT[parseInt((i * delta) % PConstants.SINCOS_LENGTH, 10)];
6993 var angle_step = (PConstants.SINCOS_LENGTH * 0.5) / vres;
6998 var curradius = sinLUT[parseInt(angle % PConstants.SINCOS_LENGTH, 10)];
6999 var currY = -cosLUT[parseInt(angle % PConstants.SINCOS_LENGTH, 10)];