view old/simple_pack/vertex.cpp @ 2069:26aa08c9a1de draft default tip

cuda example fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 10:04:55 +0900
parents 3bc98f6d31ff
children
line wrap: on
line source

#include <iostream>
#include "vertex.h"
using namespace std;

Vertex::Vertex(float tmp_x,float tmp_y, float tmp_z,float tmp_tex_x,float tmp_tex_y) {
	x = tmp_x;
	y = tmp_y;
	z = tmp_z;
	tex_x = tmp_tex_x; 
	tex_y = tmp_tex_y; 
}