- or download this
+Z
...
_\/____/____/____/____/____/_
-X \ +X
-Y
- or download this
function _BoundingBoxDraw( ) {
var minOrMaxX = ( ( this.Parent.Fi < 90 ) || ( this.Parent.Fi >= 2
+70 ) );
...
drawFace( this, 'y', 'x', 'z', 1, 2, 3, minOrMaxY, minOrMaxX, minO
+rMaxZ );
drawFace( this, 'x', 'y', 'z', 2, 4, 5, minOrMaxX, minOrMaxY, minO
+rMaxZ );
}
- or download this
+Y +Y
+ +Z
-Z +----+----+----+----+----+ +Z -X +----+----+----+----+----+ +X -
+X +----+----+----+----+----+ +X
...
| | | | | | | | | | | |
+ | | | | | |
+----+----+----+----+----+ +----+----+----+----+----+
+ +----+----+----+----+----+
-Y -Y
+ -Z
- or download this
function drawFace( me, face, horizontal, vertical, planeIdx, line1, li
+ne2, drawMinFace, cond2, cond3 ) {
var world3D = new Vector( 0,0,0 );
...
drawGrid( me, face, horizontal, vertical, line1, cond3, world3D );
+ // horizontal
drawGrid( me, face, vertical, horizontal, line2, cond2, world3D );
+ // vertical
}
- or download this
function drawGrid( me, face, horizontal, vertical, idx, tickPosn, pp )
+ {
var ii = 0, uu = 0;
...
ii++;
}
}