Code: Select all
class Viewpoint
{
public:
Viewpoint(int source) { Viewpoint(source, 0, 0, 0); }
Viewpoint(int source, float zoom, float lon, float lat);
void Scroll(float x, float y);
void Zoom(float step);
void Project(int &tx, int &ty, int &tz, int &ts, int &px, int &py);
int source; float zoom, scale, lon, lat;
};
Code: Select all
Viewpoint.cpp:45: Viewpoint::Viewpoint(0x9fbfd88): zoom == 0.000000, scale == 1.000000, lon == 0.000000, lat == -0.000046
Viewpoint.cpp:87: Viewpoint::Project(0x9fbfddc): zoom == 0.000000, scale == 0.000000