Added more models

Fixed issue with material only parts of meshs not being rendered
This commit is contained in:
iDunnoDev
2022-05-14 20:13:55 +01:00
committed by iDunnoDev
parent b856b43209
commit 03329d30ce
35 changed files with 178 additions and 43 deletions

View File

@ -99,11 +99,21 @@ void ObjectNode::SetLeftRight(float leftRight)
_moveLeftRight = leftRight;
}
float ObjectNode::GetLeftRight() const
{
return _moveLeftRight;
}
void ObjectNode::SetForwardBack(float forwardBack)
{
_moveForwardBack = forwardBack;
}
float ObjectNode::GetForwardBack() const
{
return _moveForwardBack;
}
XMVECTOR ObjectNode::GetNodePosition(void)
{
return XMLoadFloat4(&_nodeRootPosition);