Compare commits
1 Commits
alpha-0.0.
...
rotatehand
| Author | SHA1 | Date | |
|---|---|---|---|
| f092a3b70a |
@@ -104,7 +104,7 @@ void MainRenderer::RenderGun() {
|
||||
|
||||
m_GunShader->Start();
|
||||
|
||||
m_GunShader->SetModelTransform(maths::Identity<float>());
|
||||
m_GunShader->SetModelTransform(maths::RotateX(m_Camera.GetAttachedPlayer()->GetPosition().y / 2.5f));
|
||||
|
||||
for (auto& Vao : m_GunModel.mVaos) {
|
||||
Vao->Bind();
|
||||
|
||||
Reference in New Issue
Block a user