mesh now takes Vector3f array for rendering