mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
20 lines
243 B
C++
Executable File
20 lines
243 B
C++
Executable File
#include"camera.h"
|
|
|
|
namespace vb01{
|
|
Camera::Camera(){
|
|
|
|
}
|
|
|
|
Camera::~Camera(){}
|
|
|
|
void Camera::update(){
|
|
|
|
}
|
|
|
|
void Camera::lookAt(Vector3 direction, Vector3 up){
|
|
this->direction=direction;
|
|
this->up=up;
|
|
left=direction.cross(up);
|
|
}
|
|
}
|