2014-02-07 15:52:07 +01:00
|
|
|
#pragma once
|
|
|
|
#include "..\Definitions\GraphicalDefinition.h"
|
|
|
|
#include "..\Core\Core.h"
|
|
|
|
#include "Preparations\Preparations.h"
|
|
|
|
#include "..\Model\Model.h"
|
|
|
|
|
|
|
|
namespace Oyster
|
|
|
|
{
|
|
|
|
namespace Graphics
|
|
|
|
{
|
|
|
|
namespace Render
|
|
|
|
{
|
|
|
|
class DefaultRenderer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void NewFrame(Oyster::Math::Float4x4 View, Oyster::Math::Float4x4 Projection, Definitions::Pointlight* Lights, int numLights);
|
2014-02-10 13:59:45 +01:00
|
|
|
static void RenderScene(Model::Model* models, int count, Math::Matrix View, Math::Matrix Projection, float DeltaTime = 0);
|
2014-02-07 15:52:07 +01:00
|
|
|
static void EndFrame();
|
|
|
|
|
|
|
|
static Model::Model* cube;
|
|
|
|
static Model::Model* cube2;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|