Re: pfmath

New Message Reply Date view Thread view Subject view Author view

Kowsik Guruswamy (kowsik++at++coryphaeus.com)
Wed, 26 Jun 1996 09:03:04 -0700


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

pfVec3 v1(0.0f, 0.0f, 0.0f);
pfVec3 v2(1.0f, 1.0f, 1.0f);

float d = v1.distance (v2);

Hope that helps,

K.

-- 
kowsik++at++coryphaeus.com     | pirts suiboM a hguorht neeb sah txet sihT
http://www.coryphaeus.com |
                          | You are not you, you are me! - arnie
work: (408)-395-4537 e210 |

======================================================================= 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.