From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro 2.2 question Date: Tue, 1 Apr 1997 19:55:05 +0100 Organization: None Distribution: world Message-ID: <1bP+REAJoVQzEwjB@talula.demon.co.uk> References: <01bc3c5c$e0867fe0$LocalHost AT default> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Thomas Harte writes: > Is there a command similar to polygon3d_f, but which reads the >necessary number of co-ordinates from one long int? e.g. if I wrote :- This isn't currently possible, but it is an easy thing to add, so I will do it for the next version. The reason it works the way it does is that I never anticipated people would want to use variable numbers of vertices (I've needed to do that myself), and in situations where you are sharing a single vertex between multiple polygons (very common in most 3d engines), it is more efficient to take a separate pointer to each vertex than to require them to be copied to contiguous locations in a temporary buffer. But there is no problem with supporting both types of parameter, so I will add your method as well... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.