Patch Update - Remove The """Instancing""" due to unwanted behavior - V10.4.1
This commit is contained in:
@@ -32,6 +32,9 @@ public:
|
||||
Object();
|
||||
~Object();
|
||||
|
||||
Object(const Object&) = delete;
|
||||
Object& operator=(const Object&) = delete;
|
||||
|
||||
void SetScaleMatrix(XMMATRIX scaleMatrix);
|
||||
void SetRotateMatrix(XMMATRIX rotateMatrix);
|
||||
void SetTranslateMatrix(XMMATRIX translateMatrix);
|
||||
@@ -50,7 +53,6 @@ public:
|
||||
|
||||
XMVECTOR GetPosition();
|
||||
XMVECTOR GetRotation();
|
||||
void Render(ID3D11DeviceContext* deviceContext);
|
||||
XMVECTOR GetScale();
|
||||
|
||||
void SetVelocity(XMVECTOR);
|
||||
@@ -148,10 +150,5 @@ private:
|
||||
float m_alpha = 0.0f;
|
||||
float m_initialStretch = 0.0f;
|
||||
float m_springConstant = 10.0f;
|
||||
|
||||
bool m_instancingEnabled;
|
||||
int m_instanceCount;
|
||||
ID3D11Buffer* m_instanceBuffer;
|
||||
std::vector<XMMATRIX> m_instanceTransforms;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user