Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/task/CreatePolygonFromSceneGraph.cpp @ 203:5c6c9667ac61
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | 3f4c6a75d7e0 |
children | efb1df3176f4 |
comparison
equal
deleted
inserted
replaced
202:3f4c6a75d7e0 | 203:5c6c9667ac61 |
---|---|
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]; |