Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
274cc4bb
Commit
274cc4bb
authored
Mar 04, 2005
by
Leigh B. Stoller
Browse files
Reduce exclusion zone from 25 to 23 pixels (2 cm in the current map).
parent
2693c629
Changes
1
Hide whitespace changes
Inline
Side-by-side
vis/floormap.in
View file @
274cc4bb
...
...
@@ -595,7 +595,7 @@ sub dofloor($$)
$baseimages
{
$building
}->{
"
ppm
"
};
$err
=
$baseimage
->Draw(stroke=>'orange',
strokewidth=>'1
.5
',
strokewidth=>'1',
primitive=>'rectangle',
points=>
"
$xmin
,
$ymin
$xmax
,
$ymax
"
);
warn
"
$err
"
if
"
$err
"
;
...
...
@@ -628,7 +628,7 @@ sub dofloor($$)
$areamap
->{
"
$id
"
} =
$props
;
if (
$show_exclusion
) {
my
$obstacle_buffer
= 2
5
; # XXX
my
$obstacle_buffer
= 2
3
; # XXX
my
$xmin
=
$x1
-
$obstacle_buffer
;
my
$ymin
=
$y1
-
$obstacle_buffer
;
my
$xmax
=
$x2
+
$obstacle_buffer
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment