Revision: 7313
http://playerstage.svn.sourceforge.net/playerstage/?rev=7313&view=rev
Author: rtv
Date: 2009-01-30 03:50:08 +0000 (Fri, 30 Jan 2009)
Log Message:
-----------
tweaked powerpack vis
Modified Paths:
--------------
code/stage/trunk/libstage/model.cc
Modified: code/stage/trunk/libstage/model.cc
===================================================================
--- code/stage/trunk/libstage/model.cc 2009-01-30 03:47:38 UTC (rev 7312)
+++ code/stage/trunk/libstage/model.cc 2009-01-30 03:50:08 UTC (rev 7313)
@@ -1051,7 +1051,12 @@
{
// quick hack
if( power_pack && power_pack->stored < 0.0 )
- DrawImage( TextureManager::getInstance()._mains_texture_id, cam, 0.85
);
+ {
+ glPushMatrix();
+ glTranslatef( 0.3, 0, 0.0 );
+ DrawImage( TextureManager::getInstance()._mains_texture_id,
cam, 0.85 );
+ glPopMatrix();
+ }
if( say_string || power_pack )
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit