RE : Allocating GeoSet Stuff from shared

New Message Reply Date view Thread view Subject view Author view

GRAUX Ludovic (LUDOVIC.GRAUX++at++siege.aerospatiale.fr)
Wed, 24 Jul 1996 13:05:15 +0200


      The pb is that you cannot alocate arrays with the [] operator.
     To allocate arrays of pfVec3 (or else) with the elegance the C++ new
     operator, the good syntax is the following :

     pfVec3 *force_vertex = (pfVec3*) new(2*sizeof(pfVec3), pfGetSharedArena())
     pfMemory;

     Regards,

     Michael Boccara
     Simulation developper at AEROSPATIALE, Centre Commun de Recherches, Suresnes,
     France.
     Tel : +33 1 46 97 30 02
===================================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:53:13 PDT

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