Renderer/Renderer.cpp
// Update frame-based values.

Update frame-based values.
Update frame - based values .
void Renderer::OnUpdate()
{
    XMMATRIX rotation = XMMatrixRotationY(0.01f);
    XMMATRIX model = XMLoadFloat4x4(&m_sceneObjects[1].m_constants.model);
    XMStoreFloat4x4(&m_sceneObjects[1].m_constants.model, model * rotation);
}
void Renderer :: OnUpdate ( ) { XMMATRIX rotation = XMMatrixRotationY ( 0.01f ) ; XMMATRIX model = XMLoadFloat4x4 ( & m_sceneObjects [ 1 ] . m_constants . model ) ; XMStoreFloat4x4 ( & m_sceneObjects [ 1 ] . m_constants . model , model * rotation ) ; }
Update frame-based values.
Update frame - based values .
//XMMATRIX offset = XMMatrixTranslation(0.01f, 0.0f, 0.0f);
 //XMMATRIX model = XMLoadFloat4x4(&m_sceneObjects[0].m_constants.model);
 //XMStoreFloat4x4(&m_sceneObjects[0].m_constants.model, model * offset);
