Take out std::1 namespace references in .cpp files

This commit is contained in:
twinaphex 2013-05-12 00:19:09 +02:00
parent 6e08b34d37
commit 43d6116455
2 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ static unsigned height = BASE_HEIGHT;
static struct retro_hw_render_callback hw_render;
static string mesh_path;
static vector<std1::shared_ptr<Mesh> > meshes;
static vector<shared_ptr<Mesh> > meshes;
void retro_init(void)
{}
@ -244,7 +244,7 @@ static void init_mesh(const string& path)
" gl_FragColor = vec4(diffuse, colorDiffuse.a);\n"
"}";
std1::shared_ptr<Shader> shader(new Shader(vertex_shader, fragment_shader));
shared_ptr<Shader> shader(new Shader(vertex_shader, fragment_shader));
meshes = OBJ::load_from_file(path);
mat4 projection = scale(mat4(1.0), vec3(1, -1, 1)) * perspective(45.0f, 640.0f / 480.0f, 1.0f, 100.0f);

View File

@ -28,7 +28,7 @@ namespace GL
void Mesh::set_vertices(vector<Vertex> vertex)
{
set_vertices(std1::shared_ptr<vector<Vertex> >(new vector<Vertex>(vertex)));
set_vertices(shared_ptr<vector<Vertex> >(new vector<Vertex>(vertex)));
}
void Mesh::set_vertex_type(GLenum type)
@ -36,7 +36,7 @@ namespace GL
vertex_type = type;
}
void Mesh::set_vertices(const std1::shared_ptr<vector<Vertex> >& vertex)
void Mesh::set_vertices(const shared_ptr<vector<Vertex> >& vertex)
{
this->vertex = vertex;
@ -51,7 +51,7 @@ namespace GL
this->material = material;
}
void Mesh::set_shader(const std1::shared_ptr<Shader>& shader)
void Mesh::set_shader(const shared_ptr<Shader>& shader)
{
this->shader = shader;
}