From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Strange bugs: HELP! (allegro) Date: Sun, 6 Jul 1997 16:18:15 +0100 Organization: None Distribution: world Message-ID: References: <33BFA52A DOT 3646 AT cam DOT org> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vic writes: >If, after clipping, the resulted poly is not a quad anymore, the >polygon3d function will display a weird shape on screen (starting from >the upper left corner and continuing with the quad's normal vertices). >However if I use the polygon (2d) routine with it, it will work just >fine with the same coordinates! How is this possible? Should I assume >there might be a bug in polygon3d or a bug in my clipping code? I'd suspect a problem with the way you are calling the polygon drawer, but without having any code to look at it is impossible to say. Remember that with the polygon() routine you pass an array of points directly, wheras with polygon3d() you pass an array of pointers to the vertices... -- 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.