Example #1
0
Texture<real>* SceneImporter<real>::ReadCubeMap( std::istream& stream, const std::string& name )
{
	std::string imagesPath = ReadString( stream );
	CubeMap<real>* cubeMap = new CubeMap<real>( imagesPath );

	cubeMap->SetName( name );

	return cubeMap;
}