Re: pfmath

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (scott++at++ht.com)
Wed, 26 Jun 1996 10:19:10 -0400 (EDT)


> There is a routine, pfDistancePt3 that I would like to use;
> however, there does not seem to be a C++ version of it. I am
> using the macro in <Performer/pr/pfLinMath.h>. Is there a C++
> routine for this function or is it expected that we use the macro.

Is pfVec3::distance(const pfVec3& pt2) the member function you are looking
for? It computes the distance between the referenced pfVec3 and pt2.

-- 
   Scott McMillan, Ph.D.   | Developers of virtual environment
       scott++at++ht.com        | medical and surgical simulations
HIGH TECHSPLANATIONS, INC. | and surgery simulation creation
     http://www.ht.com     | tools.

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:04 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.