class Test {
static function main() {
var V:Float=0;
var Ax:Float = 0;
var Ay:Float = 0;
var Az:Float = 1;
var Bx:Float= 0;
var By:Float = 1;
var Bz:Float = 0;
var Cx:Float = 1;
var Cy:Float = 0;
var Cz:Float = 0;
V = (Ax * (By * Cz - Bz * Cy) - Bx * (Ay * Cz - Az * Cy) + Cx * (Ay * Bz - Az * By)) / 6.0;
if (V < 0) {
V *= -1;
}
trace(V);
}
}