mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
render code relocation, mouse wheel zoom control
This commit is contained in:
7
Camera.h
7
Camera.h
@@ -11,7 +11,6 @@ http://mozilla.org/MPL/2.0/.
|
||||
#define CameraH
|
||||
|
||||
#include "dumb3d.h"
|
||||
#include "frustum.h"
|
||||
#include "dynobj.h"
|
||||
|
||||
using namespace Math3D;
|
||||
@@ -28,7 +27,6 @@ class TCamera
|
||||
{
|
||||
private:
|
||||
vector3 pOffset; // nie używane (zerowe)
|
||||
cFrustum m_frustum;
|
||||
|
||||
public: // McZapkie: potrzebuje do kiwania na boki
|
||||
double Pitch;
|
||||
@@ -56,11 +54,6 @@ class TCamera
|
||||
void SetCabMatrix(vector3 &p);
|
||||
void RaLook();
|
||||
void Stop();
|
||||
inline
|
||||
void
|
||||
SetFrustum() { m_frustum.calculate(); }
|
||||
bool
|
||||
IsVisible( TDynamicObject const *Dynamic ) const;
|
||||
// bool GetMatrix(matrix4x4 &Matrix);
|
||||
vector3 PtNext, PtPrev;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user