Parent Directory | Revision Log | Patch
revision 1.1 by tjl, Tue Apr 1 12:53:56 2003 UTC | revision 1.2 by tjl, Fri Apr 4 12:34:59 2003 UTC | |
---|---|---|
# | Line 13 namespace Geom { | Line 13 namespace Geom { |
13 | * @param rad The radius of the circle | * @param rad The radius of the circle |
14 | * @return The projected point, or if not possible, the original pt. | * @return The projected point, or if not possible, the original pt. |
15 | */ | */ |
16 | Vec project2circle(Vec pt, Vec p, Vec ctr, float rad) { | inline Vec project2circle(Vec pt, Vec p, Vec ctr, float rad) { |
17 | Vec ao = pt - ctr; | Vec ao = pt - ctr; |
18 | Vec ap = pt - p; | Vec ap = pt - p; |
19 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |