Re: pfmath

New Message Reply Date view Thread view Subject view Author view

Jean-Luc Dery (dery++at++cae.ca)
Wed, 26 Jun 1996 09:55:00 -0400


On Jun 26, 8:01am, wasileskib++at++adadv1.mdc.com wrote:
> Subject: pfmath
> There is a routine, pfDistancePt3 that I would like to use;
> however, there does not seem to be a C++ version of it.
> The regular definition is in <Performer/prmath.h> but is for C .
> There is a macro PFDISTANCE_PT3 in <Performer/pr/pfLinMath.h>
> which has the same functionality. Was this overlooked or intenai
> =======================================================================
> 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
>-- End of excerpt from wasileskib++at++adadv1.mdc.com

There is a member function in pfVec3 class declared in
<Performer/pr/pfLinMath.h> called "distance":

float pfVec3::distance(const pfVec3& pt2);

This is the C++ version of pfDistancePt3; you can man page pfVec3 for more
details.

Hope this helps,

-- 
____________________________________________________________________

Jean-Luc Dery CAE Electronics Ltd., 8585 Cote De Liesse System Engineer Saint-Laurent, Quebec, Canada, H4L-4X4 3-D Graphics Applications tel: +1 514 341 2000 extension 2275 dery++at++cae.ca fax: +1 514 340 5496 ____________________________________________________________________ ======================================================================= 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.