comparison TaskManager/Test/test_render/task/CreatePolygonFromSceneGraph.cpp @ 203:1eba8570808c draft

fix CreateSpan::run
author gongo@localhost.localdomain
date Mon, 26 Jan 2009 18:30:35 +0900
parents 76bf19f9e305
children de235e3ef9d3
comparison
equal deleted inserted replaced
202:76bf19f9e305 203:1eba8570808c
134 134
135 rotate(xyz1, sg->matrix); 135 rotate(xyz1, sg->matrix);
136 rotate(xyz2, sg->matrix); 136 rotate(xyz2, sg->matrix);
137 rotate(xyz3, sg->matrix); 137 rotate(xyz3, sg->matrix);
138 138
139 apply_matrix(xyz1, mat); 139 //apply_matrix(xyz1, mat);
140 apply_matrix(xyz2, mat); 140 //apply_matrix(xyz2, mat);
141 apply_matrix(xyz3, mat); 141 //apply_matrix(xyz3, mat);
142 142
143 triangle->ver1.x = xyz1[0]; 143 triangle->ver1.x = xyz1[0];
144 triangle->ver1.y = xyz1[1]; 144 triangle->ver1.y = xyz1[1];
145 triangle->ver1.z = xyz1[2]; 145 triangle->ver1.z = xyz1[2];
146 triangle->ver1.tex_x = sg->data[(i+0)*3 + sg->size*6]; 146 triangle->ver1.tex_x = sg->data[(i+0)*3 + sg->size*6];