Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Brian Bacon Newsgroups: scea.yaroze.programming.3d_graphics Subject: GsClearOT Date: Fri, 22 Aug 1997 00:34:43 -0700 Organization: SCEA News Server Lines: 31 Message-ID: <33FD4113.54EB@geocities.com> NNTP-Posting-Host: 205.238.16.55 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (Win95; I) 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