vector difference */
| 1613 | |
| 1614 | /* vector difference */ |
| 1615 | static pointObj point_diff(const pointObj a, const pointObj b) { |
| 1616 | pointObj retv = {a.x-b.x,a.y-b.y |
| 1617 | #ifdef USE_POINT_Z_M |
| 1618 | ,a.z-b.z,a.m-b.m |
| 1619 | #endif |
| 1620 | }; |
| 1621 | return retv; |
| 1622 | } |
| 1623 | |
| 1624 | /* vector sum */ |
| 1625 | static pointObj point_sum(const pointObj a, const pointObj b) { |