zcfirst
09-07-2005, 07:42 PM
i draw an image in form window by VB & OpenGL.
And i want to pick the point's coordination
in screen. In OpenGL, it mentions that functions
gluProject and gluUnproject can do that.
But, the variables in both must use the pointer,
for example in gluProject, &wx,&wy,&wz,
yet i don't know, if VB want to use these functions, how to do it?
Could anyone answer my question, thanks.
And i want to pick the point's coordination
in screen. In OpenGL, it mentions that functions
gluProject and gluUnproject can do that.
But, the variables in both must use the pointer,
for example in gluProject, &wx,&wy,&wz,
yet i don't know, if VB want to use these functions, how to do it?
Could anyone answer my question, thanks.