This is the same problem as your other question. You're using integer division, which truncates the decimal part.
This line:
rotateY((frameCount/1000)*1);
Needs to be this:
rotateY((frameCount/1000.0)*1);
For future reference, problems like these are easily spotted through some debugging. You need to go through your program and test every assumption you're making. In other words, print everything out. For example:
println(frameCount/1000);
That line would have shown you your entire problem.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…