Rev 2184 | Rev 2208 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2184 | Rev 2199 | ||
---|---|---|---|
Line 64... | Line 64... | ||
64 | return point<T> (p1.x + p2.x, p1.y + p2.y); |
64 | return point<T> (p1.x + p2.x, p1.y + p2.y); |
65 | }
|
65 | }
|
66 | 66 | ||
67 | template <typename T> struct pointinfo : point<T> { |
67 | template <typename T> struct pointinfo : point<T> { |
68 | int pin; |
68 | int pin; |
69 | int carry; |
- | |
70 | int mirror; |
69 | int mirror; |
71 | void init () { pin = 0; carry = 1; mirror = 0;} |
70 | void init () { pin = 0; mirror = 0;} |
72 | pointinfo () { init(); } |
71 | pointinfo () { init(); } |
73 | pointinfo (const point<T>& p) : point<T> (p.x, p.y) { init(); } |
72 | pointinfo (const point<T>& p) : point<T> (p.x, p.y) { init(); } |
74 | }; |
73 | }; |
75 | 74 | ||
76 | #endif
|
75 | #endif
|