BasketBall-trainer-openGL
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Just a small OpenGL Basketball game written in c++ during my studies
# Basketball Trainer / OpenGL Project #

The project started around June 2009 as a university project. The goal was to write an OpenGL program with under 1200 lines of code (not including textures and maps, of course).

I am releasing the source code and windows binaries to the public, hoping someone learning OpenGL can benefit from it. 
I am not stating any "license" under which this is released, but I am expecting a certain credit if the code is somehow used.

I am aware of the fact the code is 99% NOT commented, i will do my best to slowly add comments to main parts of the code.

## A bit about the basketball trainer ##

1. The idea was to allow a "player" to throw a ball into a basket and present the ball's track in a replay mode.
2. Collision detection had to be implemented, so the ball will "jump" off the ring in a correct manner. Gravity is also set, so the ball is actually jumping correctly.
3. If you look throughout the code you might find some traces of "player 1, player 2" functions. this was planned to be a multi-player game, but the lack of time (and need) won.

### The RW (alternative MIT) License

Copyright (c) <2012> Raanan Weber, raananw "at" gmail.com

 Permission is hereby granted, free of charge, to any person or cat obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, burn, juggle, throw out of a window
 and/or sell copies of the Software, and to permit persons to whom the Software is
 furnished to do so subjuct to no extra conditions.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。