Mercurial > hg > Members > kono > Cerium
diff TaskManager/Test/test_render/task/DrawSpan.h @ 315:a7ff29110474
add pre light
author | e065725@yutaka.st.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 09 Jun 2009 16:44:00 +0900 |
parents | 204b03ca98f8 |
children | 716b87bce32a |
line wrap: on
line diff
--- a/TaskManager/Test/test_render/task/DrawSpan.h Tue Jun 09 01:22:11 2009 +0900 +++ b/TaskManager/Test/test_render/task/DrawSpan.h Tue Jun 09 16:44:00 2009 +0900 @@ -42,7 +42,7 @@ void writebuffer(unsigned int display, int width, int height, int screen_width); void updateBuffer(float zpos, int rangex, int x, int y, - int tex_x, int tex_y, uint32 *tex_addr); + int tex_x, int tex_y, float normal_x, float nomral_x, float normal_z, uint32 *tex_addr); void reboot(SpanPackPtr spack, int cur_span_x); @@ -51,6 +51,7 @@ void drawDot2(SpanPtr span, int startx, int endx, int js, int wait_tag); int drawLine1(SpanPtr span, int startx, int endx, int wait_tag); void drawLine2(SpanPtr span, int startx, int endx, int js, int wait_tag); + int infinity_light_calc(int color,float normal_x, float normal_y, float normal_z); }; typedef struct {