view Renderer/Engine/vertex.cc @ 1047:6a80ca9a65d9

broken texure ( h/w != 2^n ) protection
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 08 Dec 2010 05:38:45 +0900
parents 735f76483bb2
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; 
}