Re: pfCoord

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Wed, 17 Sep 1997 10:02:17 -0700


On Sep 17, 9:26am, Steve Baker wrote:
> Subject: Re: pfCoord
> On Wed, 17 Sep 1997, Norbert Kociok wrote:
>
> > do someone know where I can find more information about pfCoord and his
> > structure and the rules how I can use this?
> > In the IRIS Performer Reference Pages is no hint in this case.
>
> It's defined in the pfMatrix man page, but it's a very simple structure:
>
> struct pfCoord
> {
> pfVec3 xyz;
> pfVec3 hpr;
> };
>
> > My problem is :
> > I have declared a variable spacecoord in a struct Shared as pfCoord.
> >
> > When I try to compile the sourcecode I receive the mistake:
> > cfe: Error: ../space.c, line 446: Selector requires struct/union as
> > left hand side
> >
> > Shared->spacecoord.xyz.scale(deltaTime,Shared->spacecoord.xyz);
> > ------------------------------^
>
> Well, this *looks* OK, if Shared->spacecoord is a pfCoord then
> Shared->spacecoord.xyz is a pfVec3 and 'scale()' is a member
> function of a pfVec3....???
>

#include <Performer/pr/pfLinMath.h>
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            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:55:57 PDT

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