Refactored C++ Project

This commit is contained in:
2021-10-05 00:27:45 +13:00
parent 8ad77f2355
commit b96d8066c2
17 changed files with 110 additions and 63 deletions
@@ -3,7 +3,7 @@
#include "..\Common\DirectXHelper.h"
using namespace CameraDirect_cpp;
using namespace CameraRenderer_cpp;
using namespace DirectX;
using namespace Windows::Foundation;
@@ -4,7 +4,7 @@
#include "ShaderStructures.h"
#include "..\Common\StepTimer.h"
namespace CameraDirect_cpp
namespace CameraRenderer_cpp
{
// This sample renderer instantiates a basic rendering pipeline.
class Sample3DSceneRenderer
@@ -3,7 +3,7 @@
#include "Common/DirectXHelper.h"
using namespace CameraDirect_cpp;
using namespace CameraRenderer_cpp;
using namespace Microsoft::WRL;
// Initializes D2D resources used for text rendering.
@@ -4,7 +4,7 @@
#include "..\Common\DeviceResources.h"
#include "..\Common\StepTimer.h"
namespace CameraDirect_cpp
namespace CameraRenderer_cpp
{
// Renders the current FPS value in the bottom right corner of the screen using Direct2D and DirectWrite.
class SampleFpsTextRenderer
@@ -1,6 +1,6 @@
#pragma once
namespace CameraDirect_cpp
namespace CameraRenderer_cpp
{
// Constant buffer used to send MVP matrices to the vertex shader.
struct ModelViewProjectionConstantBuffer