HW6 Lights and Shading/HW6 Lights and Shading/Camera.h
// Processes input received from a mouse scroll-wheel event. Only requires input on the vertical wheel-axis
Processes input received from a mouse scroll-wheel event. Only requires input on the vertical wheel-axis
Processes input received from a mouse scroll - wheel event . Only requires input on the vertical wheel - axis
void ProcessMouseScroll(float yoffset) {
		if (Zoom >= 1.0f && Zoom <= 45.0f)
			Zoom -= yoffset;
		if (Zoom <= 1.0f)
			Zoom = 1.0f;
		if (Zoom >= 45.0f)
			Zoom = 45.0f;
	}
void ProcessMouseScroll ( float yoffset ) { if ( Zoom >= 1.0f && Zoom <= 45.0f ) Zoom -= yoffset ; if ( Zoom <= 1.0f ) Zoom = 1.0f ; if ( Zoom >= 45.0f ) Zoom = 45.0f ; }
Processes input received from a mouse scroll-wheel event.
Processes input received from a mouse scroll - wheel event .