Mercurial > hg > Game > Cerium
changeset 1320:bbfcc1652518 draft
minor changes.
author | Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Dec 2011 09:44:01 +0900 |
parents | 31455d34e502 |
children | a6b11345939c |
files | Renderer/Engine/SceneGraphRoot.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc Sun Dec 18 09:39:14 2011 +0900 +++ b/Renderer/Engine/SceneGraphRoot.cc Sun Dec 18 09:44:01 2011 +0900 @@ -431,7 +431,7 @@ } else if (!xmlStrcmp(cur->name, (xmlChar*)"p")) { - /* input の source="TEXCOORD" がない場合のみ */ + /* only case is nothing input of source="TEXCOORD" */ s->pcont = (char*)xmlNodeGetContent(cur); @@ -444,7 +444,9 @@ float *vertex_table; float *normal_table; - /* まだ<p>のidをどう探してこようか検討中 */ + /* まだ<p>のidをどう探してこようか検討中 + * u.array の前を未記入 + */ for (int i = 0; i < s->polylist_count; i++) { vertexp[i] = s->pcount[2*i]; normal_table[i] = u.array[s->pcount[2*i+1]];