Normalize in-place using the DENORM.
| 165 | |
| 166 | // Normalize in-place using the DENORM. |
| 167 | void TESSLINE::Normalize(const DENORM& denorm) { |
| 168 | EDGEPT* pt = loop; |
| 169 | do { |
| 170 | denorm.LocalNormTransform(pt->pos, &pt->pos); |
| 171 | pt = pt->next; |
| 172 | } while (pt != loop); |
| 173 | SetupFromPos(); |
| 174 | } |
| 175 | |
| 176 | // Rotates by the given rotation in place. |
| 177 | void TESSLINE::Rotate(const FCOORD rot) { |
no test coverage detected