Пример #1
0
void CALLBACK Paint(void)
{
	glClear(GL_COLOR_BUFFER_BIT);
	glColor3f(1.0,1.0,1.0);

	glPushMatrix();
	glTranslatef(-1.0,0.0,0.0);
	glRotatef((GLfloat)shoulder,0.0,0.0,1.0);
	glTranslatef(1.0,0.0,0.0);
	auxWireBox(2.0,0.4,1.0);

	glTranslatef(1.0,0.0,0.0);
	glRotatef((GLfloat)elbow,0.0,0.0,1.0);
	glTranslatef(-1.0,0.0,0.0);
	auxWireBox(2.0,0.4,1.0);

	glPopMatrix();
	glFlush();
}
Пример #2
0
CEE3DINPROC_API void _stdcall CeE3DWireBox(GLdouble a, GLdouble b, GLdouble c) {
	auxWireBox(a, b, c); 
}