ucsd-cse125-sp24 / group5

A character-based ability shooter 2v2 heavily inspired by Four Seasons
https://cse125.ucsd.edu/2024/cse125g5
6 stars 0 forks source link

made camera move on keypress/mouse movement #7

Closed Metarus closed 2 months ago

Metarus commented 2 months ago

made keypresses affect camera movement and mouse this is using the modelPosition and modelYaw passed in to the render function; this should be cleaned up ideally pass in eyePos/direction or eyePos/yaw/pitch and calculate the rest. the camera stuff should also be calculated in a helper because render's main goal is to actually render the object, not set up the camera

benjxia commented 2 months ago

We can do that after we have an environment, right now we have no way of testing what Alan's suggesting. Let's merge and get pitch working first.

Alanine42 commented 2 months ago

shoot just saw this comment...