History

adding Camera and some utility classes and start of prototype avatar

Jeffrey Ventrella committed 13 years ago

Commit d3f6c191 parent f859d8e11 files · +1142 −30Browse files

Showing the changes to interface/src/Camera.cpp (1 of 11 files). Show all

Unified · Split

interface/src/Camera.cpp+19−0
@@ -0,0 +1,19 @@
1+//-----------------------------------------------------------
2+//
3+// Created by Jeffrey Ventrella and added as a utility
4+// class for High Fidelity Code base, April 2013
5+//
6+//-----------------------------------------------------------
7+
8+#include "Camera.h"
9+
10+//------------------------
11+Camera::Camera()
12+{
13+ yaw = 0.0;
14+ pitch = 0.0;
15+ roll = 0.0;
16+ position = glm::dvec3( 0.0, 0.0, 0.0 );
17+ orientation.setToIdentity();
18+}
19+

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t