Archived

This topic is now archived and is closed to further replies.

Ahkron

glu access

Recommended Posts

Is there anything out there similair to GLee except for glu* instructions? If not, is there any other easy way to link glu3D* functions in Windows without the full-on manual approach? Thanks in advance, Me.

Share this post


Link to post
Share on other sites
dunno what you mean by "full on manual approach" but its pretty
easy to link GLU to a project, especially in VC++

//put this in any old file you like, usually the file where

//your WinMain/main function is

#pragma comment(lib, "glu32.lib")

//include the header when you need it..

...
#include <gl/glu.h>

//do your stuff!

gluPerspective(...);

[source]

Share this post


Link to post
Share on other sites
I''m meaning for glu functions for OpenGL1.2 upwards, such as gluBuild3DMipmaps which aren''t directly available under Windows.

Share this post


Link to post
Share on other sites