Lines Matching refs:normalY
84 var normalY = edge.endX - edge.startX; variable
86 var normalLength = Math.sqrt((normalX * normalX) + (normalY * normalY));
88 normalY /= normalLength;
91 edge.normalY = normalY;
93 if (normalX == 0 && normalY == 0) {
97 var normalLength2 = Math.sqrt((normalX * normalX) + (normalY * normalY));
160 edge.normalY *= -1;
164 Math.abs((edge.centerY + edge.normalY) - tile.centerY)) {
166 edge.normalY *= -1;
171 edge.normalY *= -1;
178 Math.floor(edge.endY) + ":" + edge.normalX + "," + edge.normalY +
241 var normalY = Math.round(tile.centerY +
242 (edge.normalY * (tileSizeY / 2)));
254 offsetY + normalY - 1);
256 offsetY + normalY + 1);