#include<GL/glut.h>
class wcPt2D
{
public:
GLfloat x, y;
};
void init(void)
{
glClearColor(1.0, 1.0, 1.0, 0.0);
glMatrixMode(GL_PROJECTION);
gluOrtho2D(0.0, 400, 0.0, 300);
}
void DrawPonit(void)
{
wcPt2D pointPos;
pointPos.x = 120.75;
pointPos.y = 45.30;
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(0.0, 0.0, 0.0);
int point1[] = { 0,0 };
class wcPt2D
{
public:
GLfloat x, y;
};
void init(void)
{
glClearColor(1.0, 1.0, 1.0, 0.0);
glMatrixMode(GL_PROJECTION);
gluOrtho2D(0.0, 400, 0.0, 300);
}
void DrawPonit(void)
{
wcPt2D pointPos;
pointPos.x = 120.75;
pointPos.y = 45.30;
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(0.0, 0.0, 0.0);
int point1[] = { 0,0 };