Skip to content

LobsterTeam/utah-teapot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Utah Teapot

"+" Key - Increases the rotation speed of the teapot.
"-" Key - Decreases the rotation speed of the teapot.
Up Arrow Key - Moves camera forward along the global z-axis.
Down Arrow Key - Moves camera backward along the global z-axis.
Right Arrow Key - Moves camera to the right along the global x-axis.
Left Arrow Key - Moves camera to the left along the global x-axis.
Page Up Key - Moves camera to the upward along the global y-axis.
Page Down Key - Moves camera to the downward along the global y-axis.
"e" Key - Locks the mouse to get mouse input. Vertical movement of the mouse rotates the camera around its sideways axis by updating theta with radians. Horizontal movement of the mouse rotates the camera around its y-axis by updating phi with radians.

Play it: https://lobsterteam.github.io/utah-teapot/public_html/