view old/simple_pack/triangle.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 "triangle.h"
#include "vertex.h"

Triangle::Triangle(Vertex *tmp_vertex1,Vertex *tmp_vertex2,Vertex *tmp_vertex3) {
	vertex1 = tmp_vertex1;		
	vertex2 = tmp_vertex2;		
	vertex3 = tmp_vertex3;		
}