- 积分
- 230
- 明经币
- 个
- 注册时间
- 2004-12-11
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
楼主 |
发表于 2004-12-26 19:35:00
|
显示全部楼层
int nIndex = indices[0]; switch(nIndex) { case 0: { m_arGouJian2Points[0] = OffsetPoint(m_arGouJian2Points[0], offset.x,offset.y,offset.z); CaculateGJ2Points(); } break; case 1: { m_arGouJian1Points[1] = OffsetPoint(m_arGouJian1Points[1], offset.x,offset.y,offset.z); CaculateGJ1Points(); } break; case 2: { m_arDiCPMOuterPoints[0] = OffsetPoint(m_arDiCPMOuterPoints[0], offset.x,offset.y,offset.z); CaculateDiCPMPoints(); } break; case 3: { m_arDingCPMOuterPoints[0] = OffsetPoint(m_arDingCPMOuterPoints[0], offset.x,offset.y,offset.z); CaculateDingCPMPoints(); } break;; case 4: { m_arZDMOuterPoints[0] = OffsetPoint(m_arZDMOuterPoints[0], offset.x,offset.y,offset.z); CaculateZDMPoints(); } break; case 5: { m_arAAOuterPoints[0] = OffsetPoint(m_arAAOuterPoints[0], offset.x,offset.y,offset.z); CaculateAAPoints(); } break; case 6: { m_arGouJian3Points[1] = OffsetPoint(m_arGouJian3Points[1], offset.x,offset.y,offset.z); CaculateGJ3Points(); } break; case 7: { m_arTextPosition[YZGBDICPMTITLE] = OffsetPoint(m_arTextPosition[YZGBDICPMTITLE], offset.x,offset.y,offset.z); } break; case 8: { m_arTextPosition[YZGBDINGCPMTITLE] = OffsetPoint(m_arTextPosition[YZGBDINGCPMTITLE], offset.x,offset.y,offset.z); } break; case 9: { m_arTextPosition[YZGBZDMTITLE] = OffsetPoint(m_arTextPosition[YZGBZDMTITLE], offset.x,offset.y,offset.z); } break; case 10: { m_arTextPosition[YZGBAATITLE] = OffsetPoint(m_arTextPosition[YZGBAATITLE], offset.x,offset.y,offset.z); } break; case 11: { m_arTextPosition[YZGBCOMMENTTEXT] = OffsetPoint(m_arTextPosition[YZGBCOMMENTTEXT], offset.x,offset.y,offset.z); } break; default: break; } |
|