annotate old/simple_render/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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
1 #include "triangle.h"
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
2 #include "vertex.h"
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
3
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
4 Triangle::Triangle(Vertex *tmp_vertex1,Vertex *tmp_vertex2,Vertex *tmp_vertex3) {
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
5 vertex1 = tmp_vertex1;
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
6 vertex2 = tmp_vertex2;
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
7 vertex3 = tmp_vertex3;
3f68b2ef4fb0 *** empty log message ***
gongo
parents:
diff changeset
8 }