Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
6e50b2e3
Commit
6e50b2e3
authored
Jan 12, 2007
by
Russ Fish
Browse files
Improve a crucial comment.
parent
74cb9967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
robots/vmcd/camera_data/geom.py
robots/vmcd/camera_data/geom.py
+4
-1
No files found.
robots/vmcd/camera_data/geom.py
View file @
6e50b2e3
...
...
@@ -33,7 +33,10 @@ def ptOffset(p, v, scale=1.0): # Any dimension.
def
ptBlend
(
p1
,
p2
,
t
=
0.5
):
# Any dimension.
return
ptOffset
(
p1
,
vecFrom2Pts
(
p1
,
p2
),
t
)
# Line - Line equation is Ax+By+C, == 0 on the line, positive inside.
# Line - Line equation is Bx-Ay+C, == 0 on the line, positive inside.
# [A,B] is a vector perpendicular to the line, positive to the right.
# Notice that this is not the Ax+By+C form you learned in Algebra class.
# It makes for efficient calculation of the distance from a point to a line.
class
Line
:
# Construct a line through two points.
...
...
Write
Preview
Markdown
is supported
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