I am learning opengl to implement games in the future. I wrote a program displaying a cube with reflection. A light is suppose to lit the cube from the left side. However the cube is seen lit from both side.
And in the render() function, if i call the printString() function, the reflection of the cube is gone. I have attached the source code file. Can someone pls see what is wrong?
Thanks
Using VC++ 6.0