public?void RecursRender(?TriTreeNode?tri,?int?leftX,?int?leftY,?int?rightX,?int?rightY,?int?apexX,?int?apexY,?GL10?gl?)
?????????????????{
if?(?tri.LeftChild?!=?null?)
{
int?centerX?=?(leftX?+?rightX)>>1;
int?centerY?=?(leftY?+?rightY)>>1;
RecursRender(?tri.LeftChild,??apexX,???apexY,?leftX,?leftY,?centerX,?centerY,?GL10?gl?);
RecursRender(?tri.RightChild,?rightX,?rightY,?apexX,?apexY,?centerX,?centerY,?GL10?gl?);
}
else{
//省略,不是重點
}
}//這里GL10?gl這個參數分別在定義時和迭代都調用合法么?事實上,eclipse報錯了,提示GL10?cannot?be?resolved?to?a?variable,應該如何修改
添加回答
舉報
0/150
提交
取消