Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/simple_render/vertex.cpp @ 73:811ffebd8deb
*** empty log message ***
author | gongo |
---|---|
date | Mon, 18 Feb 2008 03:34:35 +0900 |
parents | 3f68b2ef4fb0 |
children | 9b96b190cb73 |
rev | line source |
---|---|
26 | 1 #include <iostream> |
2 #include "vertex.h" | |
3 using namespace std; | |
4 | |
5 Vertex::Vertex(float tmp_x,float tmp_y, float tmp_z,float tmp_tex_x,float tmp_tex_y) { | |
6 x = tmp_x; | |
7 y = tmp_y; | |
8 z = tmp_z; | |
9 tex_x = tmp_tex_x; | |
10 tex_y = tmp_tex_y; | |
11 } | |
73 | 12 |
13 void | |
14 Vertex::set(float tmp_x,float tmp_y, float tmp_z,float tmp_tex_x,float tmp_tex_y) { | |
15 x = tmp_x; | |
16 y = tmp_y; | |
17 z = tmp_z; | |
18 tex_x = tmp_tex_x; | |
19 tex_y = tmp_tex_y; | |
20 } | |
21 |