diff TaskManager/Test/simple_render/task/create_sgp.cpp @ 92:663bc2a213f5

*** empty log message ***
author gongo
date Thu, 28 Feb 2008 10:45:40 +0900
parents 6bc72fde6615
children 62679f4cae18
line wrap: on
line diff
--- a/TaskManager/Test/simple_render/task/create_sgp.cpp	Wed Feb 27 21:19:13 2008 +0900
+++ b/TaskManager/Test/simple_render/task/create_sgp.cpp	Thu Feb 28 10:45:40 2008 +0900
@@ -1,4 +1,4 @@
-//#include <iostream>
+#include <iostream>
 #include "scene_graph_pack.h"
 #include "polygon.h"
 using namespace std;
@@ -45,6 +45,10 @@
 	node->interaction = 0;
 	node->pn = nnpn;
 
+	//node->tex_addr = t->texture_image->pixels;
+	node->tex_width = t->texture_image->w;
+	node->tex_height = t->texture_image->h;
+
 	if(t->child != NULL)
 	{
 	    nnpn = i;