-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
998 additions
and
1,014 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//Mouse lock variables (press F3 to lock the mouse and use mouselook) | ||
mouseLock = false; | ||
mouseLockTimer = 0; | ||
|
||
//Some variables to track the camera | ||
camX = 450; | ||
camY = 230; | ||
camZ = 200; | ||
camYaw = 120; | ||
camPitch = -45; | ||
camDX = dcos(camYaw)*dcos(camPitch); | ||
camDY = -dsin(camYaw)*dcos(camPitch); | ||
camDZ = dsin(camPitch); | ||
|
||
//F1 toggles the info panel | ||
showInfo = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
//UggRay(0, 0, 0, 100, 0, 0, c_red, 5); | ||
//UggRay(0, 0, 0, 0, 100, 0, c_lime, 5); | ||
//UggRay(0, 0, 0, 0, 0, 100, c_blue, 5); | ||
//UggSphere(0, 0, 0, 5, c_white); |
Oops, something went wrong.