Mercurial > hg > Game > Cerium
diff Renderer/Engine/task/DrawSpan.cc @ 1256:880f989ce52a draft
fix rsync
author | Yuhi TOMARI <e095740@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Nov 2011 17:40:12 +0900 |
parents | b417abf82193 |
children | 4ba9b622073d |
line wrap: on
line diff
--- a/Renderer/Engine/task/DrawSpan.cc Fri Nov 18 16:57:15 2011 +0900 +++ b/Renderer/Engine/task/DrawSpan.cc Fri Nov 18 17:40:12 2011 +0900 @@ -65,8 +65,7 @@ static int drawLine1(SchedTask *smanager, Gptr g, SpanPtr span, int startx, int endx, int wait_tag); // static void drawLine2(SchedTask *smanager, SpanPtr span, int startx, int endx, int js, int wait_tag); -static int getDrawParam(SchedTask *smanager, Gptr g, SpanPtr span, int localy, int startx, - int endx, int index, int j, DrawParamPtr param); +//static int getDrawParam(SchedTask *smanager, Gptr g, SpanPtr span, int localy, int startx, int endx, int index, int j, DrawParamPtr param); static int infinity_light_calc(int color,float normal_x, float normal_y, float normal_z, SchedTask *smanager,int x, int y, float z, int world_x, int world_y, float world_z); @@ -469,7 +468,7 @@ return ret; } - +#if 0 static int getDrawParam(SchedTask *smanager, Gptr g, SpanPtr span, int localy, int startx, int endx, int index, int j, DrawParamPtr param) { @@ -536,6 +535,7 @@ return 1; } +#endif static int infinity_light_calc(int color,float normal_x, float normal_y,