Changeset 17799 for trunk/FACT++
- Timestamp:
- 05/07/14 16:39:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/viewer/internal.js
r17797 r17799 1446 1446 $.geom = (function() 1447 1447 { 1448 var s32 = Math.sqrt(3)/2; 1448 var convx = 0.1111; 1449 var convy = convx*Math.sqrt(3)/2; 1450 1449 1451 function Position(s, ring, i) 1450 1452 { … … 1464 1466 return; 1465 1467 1466 return [ x , y*s32];1468 return [ x*convx, y*convy ]; 1467 1469 } 1468 1470 … … 1486 1488 } 1487 1489 1488 geom[map[1438]] = [ 7 , -22*s32];1489 geom[map[1439]] = [ 7 , 22*s32];1490 geom[map[1438]] = [ 7*convx, -22*convy ]; 1491 geom[map[1439]] = [ 7*convx, 22*convy ]; 1490 1492 1491 1493 return geom; … … 1499 1501 return Math.sqrt(dx*dx + dy*dy); 1500 1502 } 1501 1502 // Degree per geometry unit1503 $.conv = 0.111083657946437597;
Note:
See TracChangeset
for help on using the changeset viewer.