added createBuffer() in ParticleType.setRotation()