change osg::vec3 to osg::vec3f in World::setUniforms()