annotate old/simple_pack/vertex.cpp @ 817:4e8fc627ed33

add CpuThreads.cc
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 May 2010 09:43:27 +0900
parents 735f76483bb2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
53
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
1 #include <iostream>
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
2 #include "vertex.h"
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
3 using namespace std;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
4
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
5 Vertex::Vertex(float tmp_x,float tmp_y, float tmp_z,float tmp_tex_x,float tmp_tex_y) {
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
6 x = tmp_x;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
7 y = tmp_y;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
8 z = tmp_z;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
9 tex_x = tmp_tex_x;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
10 tex_y = tmp_tex_y;
0c8ae614d421 Initial revision
chiaki
parents:
diff changeset
11 }