the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 28 lines 479 B view raw
1#include "stdafx.h" 2#include "vertex.h" 3 4Vertex::Vertex(float x, float y, float z, float u, float v) 5{ 6 this->pos = Vec3::newPermanent(x,y,z); 7 this->u = u; 8 this->v = v; 9} 10 11Vertex *Vertex::remap(float u, float v) 12{ 13 return new Vertex(this, u, v); 14} 15 16Vertex::Vertex(Vertex *vertex, float u, float v) 17{ 18 this->pos = vertex->pos; 19 this->u = u; 20 this->v = v; 21} 22 23Vertex::Vertex(Vec3 *pos, float u, float v) 24{ 25 this->pos = pos; 26 this->u = u; 27 this->v = v; 28}