Added the ASSIMP library

Added the files provided for the tutorial
Added the SplitMeshNode and SubMeshNode classes
This commit is contained in:
iDunnoDev
2022-03-18 21:26:31 +00:00
committed by iDunnoDev
parent 6bdfe4569f
commit 65255f1321
105 changed files with 19816 additions and 11 deletions

23
Graphics2/SharedMethods.h Normal file
View File

@ -0,0 +1,23 @@
#pragma once
#include "DirectXFramework.h"
struct CBUFFER
{
XMMATRIX CompleteTransformation;
XMMATRIX WorldTransformation;
XMFLOAT4 CameraPosition;
XMVECTOR LightVector;
XMFLOAT4 LightColor;
XMFLOAT4 AmbientColor;
XMFLOAT4 DiffuseCoefficient;
XMFLOAT4 SpecularCoefficient;
float Shininess;
float Opacity;
float Padding[2];
};
namespace SharedMethods
{
XMMATRIX RotateFromPoint(float x, float y, float z, XMMATRIX rotationMatrix);
};