public void draw(GL gl) {
        gl.glPushMatrix();
        gl.glTranslated(pos.x+render_pos.x,pos.y+render_pos.y,pos.z+render_pos.z);
        gl.glRotated(angle.x,1,0,0);
        gl.glRotated(angle.y,0,1,0);
        gl.glRotated(angle.z,0,0,1);
        gl.glColor3dv(color, 0);
        gl.glBegin(GL.GL_QUADS);
            gl.glVertex3d(vertex[0].x, vertex[0].y, vertex[0].z);
            gl.glVertex3d(vertex[1].x, vertex[1].y, vertex[1].z);
            gl.glVertex3d(vertex[2].x, vertex[2].y, vertex[2].z);
            gl.glVertex3d(vertex[3].x, vertex[3].y, vertex[3].z);
        gl.glEnd();
        drawCenter(gl);
        gl.glPopMatrix();
    }