Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: mperdue@hrtc.net (Mario Perdue) Newsgroups: scea.yaroze.programming.3d_graphics Subject: Re: GsClearOT Date: Fri, 22 Aug 1997 16:06:13 GMT Organization: SCEA News Server Lines: 42 Message-ID: <33fdb890.2503568@205.149.189.29> References: <33FD4113.54EB@geocities.com> NNTP-Posting-Host: firewall.hrtc.net X-Newsreader: Forte Free Agent 1.1/32.230 Brian, I'm not able to duplicate your problem. Any chance you can post a small program that exibits this behavior? Mario On Fri, 22 Aug 1997 00:34:43 -0700, Brian Bacon wrote: >Hello! > I have just recently started programming with the Yaroze, so I am not >exactly sure what I am doing. But I am having trouble with GsClearOT >and matrixes. If I have a matrix, and I call GsClearOT it will screw up >my matrix. Why is that? For example: > >//---start >MATRIX my_punk_matrix; > >my_punk_matrix.m[0][0]=2048; >my_punk_matrix.m[0][1]=0; >my_punk_matrix.m[0][2]=0; >my_punk_matrix.m[1][0]=0; >my_punk_matrix.m[1][1]=2048; >my_punk_matrix.m[1][2]=0; >my_punk_matrix.m[2][0]=0; >my_punk_matrix.m[2][1]=0; >my_punk_matrix.m[2][2]=2048; > >GsCleatOT(0, 0, &my_ot); //just an example > >//---end > >now if I display the values. They don't equal what I set them at. I >have also noticed many problems with the GNU compiler optimizations. (I >don't use them at all anymore) For example; if I have a global OT and a >global variable that ends with ly2 (example: poly2, belly2, punk_ly2) >the variable's contents often gets destroyed. But only if it ends with >'ly2' (Ly2, lY2, and LY2 work just fine). Does anyone know whats up >with that?... Anyways.. I have to get back to work.. TTYL > -Brian Bacon