Added the ASSIMP library
Added the files provided for the tutorial Added the SplitMeshNode and SubMeshNode classes
This commit is contained in:
23
Graphics2/SharedMethods.h
Normal file
23
Graphics2/SharedMethods.h
Normal 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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user