Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2006, 7:00:44 PM (17 years ago)
Author:
nicolasc
Message:

updated swarm_projectile, model included in data
TE2 tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/test_entity2.cc

    r10005 r10035  
    8888
    8989  this->material->setDiffuseMap("maps/TE2.tga");
     90
    9091}
    9192
     
    126127
    127128
     129  glEnable(GL_BLEND);
     130  glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
     131  glShadeModel(GL_FLAT);
     132  glClearColor(0.0, 0.0, 0.0, 0.0);
     133
    128134  glEnable(GL_TEXTURE_2D);
    129135  this->material->select();
     
    186192  glEnd();
    187193
     194/*
    188195  glBegin(GL_QUADS);// -X
    189196    glTexCoord2f (0.0, 0.0);
     
    238245    glVertex3f( -0.5f, 0.5f, 0.0f );
    239246//     glNormal3f(0.0, 0.0, -1.0);
    240   glEnd();
     247  glEnd();*/
    241248
    242249  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.