-
Notifications
You must be signed in to change notification settings - Fork 0
lavignes/windmill
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Windmill Thing Controls: s => toggle windmill spin r => reset all motion x => turn 5 degrees on x-axis y => turn 5 degrees on y-axis z => turn 5 degrees on z-axis It wasn't really that hard. I did this afternoon. Writing all the math classes was fun though. The only tough part was dealing with the fact that C++'s template parser will choose to not include certain template class methods in a compilation unit if they can be optimized away. Unfortunately, '__static_initialization_and_destruction_0': a "magic" function that runs class static initialization is ignored when determining if templates should be optimized away or not. (See the bottom of maths.cpp if you are curious) C++'s hidden horrible autogenerated functions are why I became a C programmer.
About
This was a homework assignment
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published