mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:15:16 +02:00
clang warning fixes
This commit is contained in:
parent
573985c7c9
commit
5230b03f4f
1 changed files with 0 additions and 7 deletions
|
@ -2806,13 +2806,6 @@ void MyAvatar::FollowHelper::prePhysicsUpdate(MyAvatar& myAvatar, const glm::mat
|
||||||
glm::mat4 desiredWorldMatrix = myAvatar.getSensorToWorldMatrix() * desiredBodyMatrix;
|
glm::mat4 desiredWorldMatrix = myAvatar.getSensorToWorldMatrix() * desiredBodyMatrix;
|
||||||
glm::mat4 currentWorldMatrix = myAvatar.getSensorToWorldMatrix() * currentBodyMatrix;
|
glm::mat4 currentWorldMatrix = myAvatar.getSensorToWorldMatrix() * currentBodyMatrix;
|
||||||
|
|
||||||
glm::vec4 RED(1.0f, 0.0f, 0.0f, 1.0f);
|
|
||||||
glm::vec4 GREEN(0.0f, 1.0f, 0.0f, 1.0f);
|
|
||||||
glm::vec4 BLUE(0.0f, 0.0f, 1.0f, 1.0f);
|
|
||||||
glm::vec4 WHITE(1.0f, 1.0f, 1.0f, 1.0f);
|
|
||||||
glm::vec4 desiredColor = glm::dot(Vectors::UNIT_Y, transformVectorFast(desiredBodyMatrix, Vectors::UNIT_Y)) < 0.9912f ? RED : GREEN;
|
|
||||||
glm::vec4 currentColor = glm::dot(Vectors::UNIT_Y, transformVectorFast(currentBodyMatrix, Vectors::UNIT_Y)) < 0.9912f ? BLUE : WHITE;
|
|
||||||
|
|
||||||
AnimPose followWorldPose(currentWorldMatrix);
|
AnimPose followWorldPose(currentWorldMatrix);
|
||||||
|
|
||||||
// remove scale present from sensorToWorldMatrix
|
// remove scale present from sensorToWorldMatrix
|
||||||
|
|
Loading…
Reference in a new issue