Copy the flags from one face to another derrived from the first (by clipping or splitting) Only those flags which are safe to copy are copied Parameters: dfp - pointer to the destination face sfp - pointer to the source face
| 2816 | // Parameters: dfp - pointer to the destination face |
| 2817 | // sfp - pointer to the source face |
| 2818 | void CopyFaceFlags(face *dfp, face *sfp) { |
| 2819 | dfp->flags = 0; |
| 2820 | |
| 2821 | //@@if (sfp->flags & FF_FORCEFIELD) |
| 2822 | //@@ dfp->flags |= FF_FORCEFIELD; |
| 2823 | |
| 2824 | if (sfp->flags & FF_GOALFACE) |
| 2825 | dfp->flags |= FF_GOALFACE; |
| 2826 | } |
| 2827 | |
| 2828 | // Inserts a vertex into a face |
| 2829 | // Parameters: rp - the room for this face |
no outgoing calls
no test coverage detected