Path: chuka.playstation.co.uk!chuka.playstation.co.uk!scea!wal From: wal@blarg.net (wayne a. lee) Newsgroups: scea.yaroze.problems.pc,scea.yaroze.programming.codewarrior Subject: Re: Yet Another CodeWarrior Problem Date: Sun, 21 Sep 1997 22:57:04 -0700 Organization: SCEA News Server Lines: 15 Message-ID: References: <34236F6C.16A9@ix.netcom.com> NNTP-Posting-Host: mg131-249.ricochet.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Yet Another NewsWatcher 2.4.0 Xref: chuka.playstation.co.uk scea.yaroze.problems.pc:145 scea.yaroze.programming.codewarrior:201 I just looked over your code briefly (haven't tried compiling or running it), but it looks like obj is not being initialized correctly. The attribute field is never set, and the coord2 field shouldn't be NULL, it should point to a GsCOORDINATE2 structure. > obj->coord2 = NULL; // Coordinates based on world-space To get the coordinates based on world space, point obj->coord2 at a GsCOORDINATE2 structure that's initialized with WORLD (or NULL) as its super. Hope this helps. -- wayne a. lee