mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-11 01:48:07 +00:00
Replace Quaternion with glm math (#1868)
This commit is contained in:
@@ -273,7 +273,7 @@ void NsConcertInstrument::RepositionPlayer(Entity* self, Entity* player) {
|
||||
case Keyboard:
|
||||
position.SetX(position.GetX() - 0.45f);
|
||||
position.SetZ(position.GetZ() + 0.75f);
|
||||
rotation = NiQuaternion::CreateFromAxisAngle(position, -0.8f); // Slight rotation to make the animation sensible
|
||||
rotation = QuatUtils::AxisAngle(position, -0.8f); // Slight rotation to make the animation sensible
|
||||
break;
|
||||
case Drum:
|
||||
position.SetZ(position.GetZ() - 0.5f);
|
||||
|
Reference in New Issue
Block a user