Added the ASSIMP library
Added the files provided for the tutorial Added the SplitMeshNode and SubMeshNode classes
This commit is contained in:
7
Graphics2/SharedMethods.cpp
Normal file
7
Graphics2/SharedMethods.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include "SharedMethods.h"
|
||||
|
||||
XMMATRIX SharedMethods::RotateFromPoint(float x, float y, float z, XMMATRIX rotationMatrix)
|
||||
{
|
||||
// Translates a matrix to a point, rotates and then returns back to where it was
|
||||
return XMMatrixTranslation(x, y, z) * rotationMatrix * XMMatrixTranslation(-x, -y, -z);
|
||||
}
|
Reference in New Issue
Block a user