Depth rendering of terrain works
This commit is contained in:
@@ -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