Commit 16e6e094 authored by Feu's avatar Feu
Browse files

test

parent 408419d9
......@@ -275,7 +275,7 @@ function render_area ( $db, $tx, $ty, $w, $h )
$x1 = $tx-3;
$y1 = $ty-3;
$x2 = $tx+$w+3;
$y2 = $tx-$w+3;
$y2 = $ty-$y+3;
$img = imagecreatetruecolor($w,$h);
......@@ -437,7 +437,7 @@ if ( isset($_REQUEST["render"]) )
echo "done in ".(microtime(true)-$st)." sec<br/>\n";
echo "<br/><br/><img src=\"galaxy_temp.png\" />";
render_area ( $dbrw, floor($width/2)-300, floor($height/2)-300, 600, 600 );
render_area ( $dbrw, floor($width/2)-150, floor($height/2)-150, 300, 300 );
}
?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment