Marco Di Benedetto
|
9163d261f7
|
Method Set(off, dir) now correctly normalizes direction and offset if template parameter NORM is set.
|
2005-09-26 19:49:30 +00:00 |
Paolo Cignoni
|
eda550ba49
|
minor changes to comply gcc compiler
|
2005-03-18 16:35:53 +00:00 |
Federico Ponchio
|
3532708a3a
|
Fixed bug in init.
|
2004-10-09 13:48:02 +00:00 |
Paolo Cignoni
|
b7fb0325c3
|
missing ending newline
|
2004-05-10 13:15:54 +00:00 |
Paolo Cignoni
|
e263653851
|
syntax error in set and better comment
|
2004-05-05 08:20:47 +00:00 |
Paolo Cignoni
|
167845dce4
|
Changed :
in Distance(plane, point) :
return plane.Direction() * point - plane.Offset;
in
return plane.Direction() * point - plane.Offset();
|
2004-04-28 16:36:55 +00:00 |
Paolo Cignoni
|
62e4e8825b
|
Changed :
in Init(p0, norm) _dist = p0 * _dir; in _offset = p0 * _dir;
Changed :
in Init(p0, p1, p2) _offset = p0 * _dist; in _offset = p0 * _dir;
|
2004-04-28 11:19:52 +00:00 |
Federico Ponchio
|
18ea5dd5db
|
Untested first draft.
|
2004-03-31 22:19:24 +00:00 |