| 123 | //---------------------------------------------------------------------------- |
| 124 | |
| 125 | void ClippedPolyList::begin(BaseMatInstance* material,U32 surfaceKey) |
| 126 | { |
| 127 | mPolyList.increment(); |
| 128 | Poly& poly = mPolyList.last(); |
| 129 | poly.object = mCurrObject; |
| 130 | poly.material = material; |
| 131 | poly.vertexStart = mIndexList.size(); |
| 132 | poly.surfaceKey = surfaceKey; |
| 133 | |
| 134 | poly.polyFlags = 0; |
| 135 | if(ClippedPolyList::allowClipping) |
| 136 | poly.polyFlags = CLIPPEDPOLYLIST_FLAG_ALLOWCLIPPING; |
| 137 | } |
| 138 | |
| 139 | |
| 140 | //---------------------------------------------------------------------------- |
no test coverage detected