summaryrefslogtreecommitdiff
path: root/src/block.c
Commit message (Collapse)AuthorAgeFilesLines
* Add camera handling and movementAaditya Dhruv4 days1-17/+1
| | | | | | | | Camera related movements have been moved to camera.c - it tracks the matrices as well so we don't have to call it in block_update The player class is empty right now, but the camera will be a child of the player, and the player a child of the engine
* Improve Block featuresAaditya Dhruv5 days1-14/+32
| | | | | - Rotate block scene at the center - Add block_debug to print block data
* Update local world coords for blockAaditya Dhruv7 days1-8/+9
|
* Fix block_init/draw bug, add more blocks to drawAaditya Dhruv7 days1-3/+9
| | | | | - VAO/VBO binding bug fixed, added explaination in comments - Add 9 rotating blocks
* Better rotating cubeAaditya Dhruv7 days1-39/+37
|
* rotating cubeAaditya Dhruv7 days1-17/+71
|
* wipAaditya Dhruv7 days1-0/+55