summaryrefslogtreecommitdiff
path: root/src/input.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor performance boost + better inputAaditya Dhruv39 hours1-16/+14
| | | | Draw triangles in correct counter clock order, back face wasn't correct
* Add basic directional lightAaditya Dhruv4 days1-1/+0
|
* Add mouse-based movement to cameraAaditya Dhruv4 days1-8/+17
| | | | Can use WASD + Mouse to fly around the scene
* Add camera handling and movementAaditya Dhruv4 days1-0/+27
| | | | | | | | 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
* Move input to separate fileAaditya Dhruv4 days1-0/+22
- Input is handled in a separate thread, its all kind of unsafe right now but will fix later on