FreeLSD Golf
Jonah Cohen, Michael Tuck-Lee, Alan Strohm


Developed for Visual C++ 6.0


level.txt contains levels in the standard format specified in class

config.txt contains all other configurable information

The configuration file is in the following format:

tolerance
gravity friction damping
fovy aspect znear zfar
cameraDist translate
cameraEyeX cameraEyeY cameraEyeZ
ballSize
ballPosX ballPosY ballPosZ
holeSize
holePosX holePosY holePosZ
clubScale clubStrength swingAngle
skyRadius



Controls:

- left click and drag horizontally to move golf club 
- right click and drag vertically to swing golf club 
- middle click and drag (or arrows) to adjust camera 
- mouse wheel up and down (or page up and page down) to zoom in and out 
- space resets game 


In order for the mouse wheel to work, you need to include a patched version of glut which is included in the file glutwheel-release.zip



In order to do grass texturing, set the green component of a triangle's color to -1.0