Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Kin Lee Newsgroups: scea.yaroze.programming.2d_graphics Subject: question about packet Date: Wed, 13 Aug 1997 20:52:01 -0600 Organization: SCEA News Server Lines: 11 Message-ID: <33F2707B.41C67EA6@cpsc.ucalgary.ca> NNTP-Posting-Host: hl.cpsc.ucalgary.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.4 sun4m) 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