Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraph.cc @ 1140:3975c384ff93 draft
SceneGraph initalize... can worked on Mac OS X. not check Cell arch.
author | Yutaka_Kinjyo |
---|---|
date | Thu, 17 Feb 2011 20:25:02 +0900 |
parents | f326494ffdc7 |
children | bc2dea061cb1 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraph.cc Thu Feb 17 11:44:29 2011 +0900 +++ b/Renderer/Engine/SceneGraph.cc Thu Feb 17 20:25:02 2011 +0900 @@ -125,6 +125,8 @@ finalize = &SceneGraph::finalize_copy; this->name = "NULLPO"; + this->pp_num = 0; + } /** @@ -664,13 +666,15 @@ p->matrix = (float*)manager->allocate(sizeof(float)*16); p->real_matrix = (float*)manager->allocate(sizeof(float)*16); //これはいらない? - //p->texture_info = (float*)sgroot->manager->allocate(sizeof(texrure_list)); + //p->texture_info = (texture_list*)manager->allocate(sizeof(texture_list)); for (int i = 0; i < 16; i++) { p->matrix[i] = this->matrix[i]; p->real_matrix[i] = this->real_matrix[i]; } + //memcpy(p->texture_info, this->texture_info, sizeof(texture_list)); + return p; }