
Added the files provided for the tutorial Added the SplitMeshNode and SubMeshNode classes
24 lines
471 B
C++
24 lines
471 B
C++
#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);
|
|
};
|
|
|