Brian Henning wrote:

Of course, my geometry skills are very faded at this point, but can you really subtract a point from a vector? I wouldn't know how to do that. In my ignorance of geometric operations, I'd suggest removing the operator-(point3d) function altogether. That's the only member of vector3d (such as it is now) that has a reference to point3d. If you really need the function, maybe make a reverse-logic member function of point3d such as vector3d subtractFrom(vector3d) which would subtract itself from a vector and return the resultant vector.

Thanks Brian, I don't know what I was thinking there! Removed that function, and now we have compilage! Now to move on to the real problems (intent errors...)

--
Randy Barlow
Research Assistant
Department of Electrical and Computer Engineering
North Carolina State University, Raleigh, NC
[EMAIL PROTECTED]
http://www.electronsweatshop.com

--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to