- or download this
function _BoundingBoxDraw( ) {
var frontOrBack = ( ( this.Parent.Fi < 90 ) || ( this.Parent.Fi >=
+ 270 ) );
...
drawFace( this, 'y', 'x', 'z', 1, 2, 3, leftOrRight, frontOrBack,
+topOrBottom );
drawFace( this, 'x', 'y', 'z', 2, 4, 5, frontOrBack, leftOrRight,
+topOrBottom );
}
- or download this
function drawFace( me, face, primary, secondary, planeIdx, line1, line
+2, drawMinFace, cond2, cond3 ) {
// if this face is visible, draw it
...
for( var ii = 0; ii < 11; ii++ ) me.Line[line2][ii].setAttribu
+te( "visibility", "hidden" );
}
}
- or download this
function drawGrid( me, plane, primary, secondary, idx, cond1, cond2, p
+p ) {
var ii = 0, uu = 0;
...
ii++;
}
}