23 #include "wx/msw/wrapwin.h"
28 #include <OpenGL/gl.h>
56 glColor3f(0.0, 0.0, 0.0);
62 glBegin(GL_QUAD_STRIP);
63 for (
double p = -90; p < 90; p += 1.0)
66 glVertex2d(x, y); glVertex2d(0.0, y);
71 glBegin(GL_QUAD_STRIP);
72 for (
double p = -90; p < 90; p += 1.0)
75 glVertex2d(width - x, y); glVertex2d(width, y);
79 glEnable(GL_TEXTURE_2D);
80 glColor3f(1.0, 1.0, 1.0);
87 glColor3f(0.0, 0.0, 0.0);
88 glStencilFunc(GL_EQUAL, 1, 1);
89 glEnable(GL_TEXTURE_2D);
90 glColor3f(1.0, 1.0, 1.0);
95 glStencilFunc(GL_ALWAYS, 1, 1);
PanoramaOptions::ProjectionFormat getProjection() const
void DisableTexture(bool maskOnly=false)
HuginBase::PanoramaOptions * GetOptions()
options getSize().area()) int wxCALLBACK SortFieldOfViewAscending(wxIntPtr item1
bool AngularToImage(double &image_x, double &image_y, double yaw, double pitch)
TextureManager * GetTextureManager()
static void info(const char *fmt,...)