Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: mperdue@hrtc.net (Mario Perdue) Newsgroups: scea.yaroze.programming.2d_graphics Subject: Re: question about packet Date: Thu, 14 Aug 1997 04:45:18 GMT Organization: SCEA News Server Lines: 24 Message-ID: <33f28c5b.32811445@205.149.189.29> References: <33F2707B.41C67EA6@cpsc.ucalgary.ca> NNTP-Posting-Host: firewall.hrtc.net X-Newsreader: Forte Free Agent 1.1/32.230 Kin, The packet area is sort of PlayStation Voodoo. I'm told that the number of packets per object varies and the the average number is 24. I have no idea why it is defined (20+4) the way it is. I assume that it meant something to the original programmer. Mario On Wed, 13 Aug 1997 20:52:01 -0600, Kin Lee wrote: >Hi, > In the source code of the demo (the one in the red manual): > > "PACKET CpuPacketArea[2][MAXOBJECT*(20+4)]" > > Why (20+4) ? Why is it always a multiple of 24 ? > > Why not "PACKET CpuPacketArea[2][MAXOBJECT*sizeof(some_structure)]" ? > > >Kin