diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-17 14:20:54 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-17 14:22:53 +0700 |
| commit | 602a0c5951050e7cce645534cb4f136cf9f4fee4 (patch) | |
| tree | e70e63b0b0058830e58c244ad917bc892c10418f /src/Camera.cpp | |
| parent | 094e12df1ebb81d304803be4b274546384ec117c (diff) | |
| download | blackshades-602a0c5951050e7cce645534cb4f136cf9f4fee4.tar.gz | |
Rename source and build directory1.1.1
Diffstat (limited to 'src/Camera.cpp')
| -rw-r--r-- | src/Camera.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Camera.cpp b/src/Camera.cpp new file mode 100644 index 0000000..950c12d --- /dev/null +++ b/src/Camera.cpp @@ -0,0 +1,9 @@ +/**> HEADER FILES <**/ +#include "Camera.h" + + +void Camera::Apply() +{ + glTranslatef(-position.x,-position.y,-position.z); +} + |
