Lines 104-110
Link Here
|
104 |
g_return_if_fail (_persp); |
104 |
g_return_if_fail (_persp); |
105 |
persp3d_get_VP (_persp, _axis).print(""); |
105 |
persp3d_get_VP (_persp, _axis).print(""); |
106 |
} |
106 |
} |
107 |
inline char const *axisString () { return Proj::string_from_axis(_axis); } |
107 |
inline char const *axisString () const { return Proj::string_from_axis(_axis); } |
108 |
|
108 |
|
109 |
unsigned int my_counter; |
109 |
unsigned int my_counter; |
110 |
static unsigned int global_counter; // FIXME: Only to implement operator< so that we can merge lists. Do this in a better way!! |
110 |
static unsigned int global_counter; // FIXME: Only to implement operator< so that we can merge lists. Do this in a better way!! |
Lines 116-122
Link Here
|
116 |
struct VPDrag; |
116 |
struct VPDrag; |
117 |
|
117 |
|
118 |
struct less_ptr : public std::binary_function<VanishingPoint *, VanishingPoint *, bool> { |
118 |
struct less_ptr : public std::binary_function<VanishingPoint *, VanishingPoint *, bool> { |
119 |
bool operator()(VanishingPoint *vp1, VanishingPoint *vp2) { |
119 |
bool operator()(VanishingPoint *vp1, VanishingPoint *vp2) const { |
120 |
return GPOINTER_TO_INT(vp1) < GPOINTER_TO_INT(vp2); |
120 |
return GPOINTER_TO_INT(vp1) < GPOINTER_TO_INT(vp2); |
121 |
} |
121 |
} |
122 |
}; |
122 |
}; |