Mercurial > mm7
comparison IndoorCameraD3D.cpp @ 1554:e303d8a9bcdc
Merge
author | Grumpy7 |
---|---|
date | Sat, 07 Sep 2013 21:14:48 +0200 |
parents | c4ab816fcc5e |
children | 2c71fa8913d2 |
comparison
equal
deleted
inserted
replaced
1553:b98812ead5d9 | 1554:e303d8a9bcdc |
---|---|
708 } | 708 } |
709 | 709 |
710 | 710 |
711 void IndoorCameraD3D::DebugDrawPortal(BLVFace *pFace) | 711 void IndoorCameraD3D::DebugDrawPortal(BLVFace *pFace) |
712 { | 712 { |
713 assert(pFace->uNumVertices <= 32); | 713 Assert(pFace->uNumVertices <= 32); |
714 | 714 |
715 RenderVertexSoft sw[32]; | 715 RenderVertexSoft sw[32]; |
716 for (uint i = 0; i < pFace->uNumVertices; ++i) | 716 for (uint i = 0; i < pFace->uNumVertices; ++i) |
717 { | 717 { |
718 sw[i].vWorldPosition.x = pIndoor->pVertices[pFace->pVertexIDs[i]].x; | 718 sw[i].vWorldPosition.x = pIndoor->pVertices[pFace->pVertexIDs[i]].x; |