As I was going through the xith-tk examples I found some possible inconsistant code. What is the difference between setTexture and setTextureUnit when

setTexture also create a TextureUnit for the given texture. In the xith-tk example TextureCoord3DTest when I tried to replace the code
a.setTexture( waypointImage );
with
TextureUnit tu0 = new TextureUnit( waypointImage );
a.setTextureUnit( 0, tu0);
The results are totally different. The 3 different texture does not rotate ? Can somebody explain this to me ?