Created
July 8, 2013 01:40
-
-
Save azchohfi/5945681 to your computer and use it in GitHub Desktop.
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
#include "Camera.h" | |
Camera::Camera(void) | |
{ | |
this->Up = Vector3::unitY; | |
... | |
} |
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
#pragma once | |
#include "Vector3.h" | |
class Camera | |
{ | |
public: | |
Camera(void); | |
... | |
} |
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
#include "Vector3.h" | |
const Vector3 Vector3::up = Vector3(0, 1, 0); | |
... |
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
#pragma once | |
struct Vector3 | |
{ | |
Vector3(); | |
Vector3(float,float,float); | |
float x,y,z; | |
static const Vector3 up; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment