forked from Dynamitos/Seele
Depth rendering of terrain works
This commit is contained in:
1 parent
effb0c6214
commit
c30619d07d
28 files changed
+298
-502
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#include "CameraUpdater.h"
|
||||
|
||||
using namespace Seele;
|
||||
using namespace Seele::System;
|
||||
|
||||
CameraUpdater::CameraUpdater(PScene scene)
|
||||
: ComponentSystem(scene)
|
||||
{
|
||||
}
|
||||
|
||||
CameraUpdater::~CameraUpdater()
|
||||
{
|
||||
}
|
||||
|
||||
void CameraUpdater::update(Component::Camera& camera)
|
||||
{
|
||||
camera.buildViewMatrix();
|
||||
}
|
||||
Reference in new issue
Block a user