Skip to content

Zenith2198/WebGL-Rotating-Prism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You can rotate the triangular prism in the x, y, and z axes by pressing the key x, y, and z, respectively.
You can translate the triangular prism up (positive y), down (negative y), left (negative x), and right (positive x) by pressing w, s, a, and d, respectively.
You can scale the triangular prism in the x and z directions by pressing the right arrow key and the down arrow key, respectively.
For any of those key presses, the transformation will continue until you stop pressing the key. You can combine any number of these transformations together by holding down each respective key.
For translation, if you press s and then w and hold both keys, the triangular prism will continue to move down. This is intended behavior.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published