Permalink
Browse files

mutant3d.c: draw(): Don't draw false character in active block.

  • Loading branch information...
1 parent 05fd653 commit c652f89900d322293945114e8808146ced6d1a2b @ozkriff committed Apr 18, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −14 mutant3d.c
View
@@ -355,20 +355,6 @@ void draw(void){
draw_active_block(active_block_pos);
glLineWidth(1.0);
}
- {
- Block3 *b = block(active_block_pos);
- if(b){
- V3f p = v3i_to_v3f(active_block_pos);
- glPushMatrix();
- glTranslatef(p.x, p.y, p.z);
- glScalef(0.2f, 0.2f, 0.2f);
- glRotatef(90, 1, 0, 0);
- glTexCoordPointer(2, GL_FLOAT, 0, va_obj.t);
- glVertexPointer(3, GL_FLOAT, 0, va_obj.v);
- glDrawArrays(GL_TRIANGLES, 0, va_obj.count);
- glPopMatrix();
- }
- }
/*draw units*/
{
Node *node;

0 comments on commit c652f89

Please sign in to comment.