Re: pfCoord

New Message Reply Date view Thread view Subject view Author view

Steve Baker (sbaker++at++link.com)
Wed, 17 Sep 1997 09:26:08 -0500 (CDT)


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

Steve Baker 817-619-8776 (Vox/Vox-Mail)
Hughes Training Inc. 817-619-4028 (Fax)
2200 Arlington Downs Road SBaker++at++link.com (eMail)
Arlington, Texas. TX 76005-6171 SJBaker1++at++airmail.net (Personal eMail)
http://www.hti.com http://web2.airmail.net/sjbaker1 (personal)

** Beware of Geeks bearing GIF's. **

=======================================================================
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:56 PDT

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