IMAC semester 3 C++ and openGL 3 project. temple run clone but about a plane flying around a spline.
mkdir splineRacer-build
cd splineRacer-build
cmake ../splineRacer
make
./src/SPLINERACER
- Analogic movement in spline-space : rotate around the spline - X-axis: radial angle, Y-axis: radial distance
- World-space spheric collisions
- transform animation of objects
- optimised render and physics - far away objects are not computed
- tinyObjLoader
- Json for modern c++
- SDL_mixer
- FreeType
- less collision detection: sort colliders in a octo-tree like hierarchy
- all variables must be in lowerCamelCase
int myVariable = 1;
- Class must have both pragma once and indef..define..endif
- Class names must be in UpperCamelCase
- Class members must be protected and have an underscore as prefix ("_")
#pragma once
#ifndef __MYCLASS__HPP
#define __MYCLASS__HPP
class MyClass {
protected:
int _myVariable = 1;
}
#endif
- Comments must be written in english as much as possible
- Don't forget to use Doxigen syntax when commenting your classes !