mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 10:03:15 +02:00
changed handAzimuth to non const function
This commit is contained in:
parent
56deb500bb
commit
5063d0b527
2 changed files with 2 additions and 2 deletions
|
@ -997,7 +997,7 @@ void MyAvatar::updateFromHMDSensorMatrix(const glm::mat4& hmdSensorMatrix) {
|
|||
|
||||
// Find the vector halfway between the hip to hand azimuth vectors
|
||||
// This midpoint hand azimuth is in Avatar space
|
||||
glm::vec2 MyAvatar::computeHandAzimuth() const {
|
||||
glm::vec2 MyAvatar::computeHandAzimuth() {
|
||||
controller::Pose leftHandPoseAvatarSpace = getLeftHandPose();
|
||||
controller::Pose rightHandPoseAvatarSpace = getRightHandPose();
|
||||
|
||||
|
|
|
@ -337,7 +337,7 @@ public:
|
|||
void updateFromHMDSensorMatrix(const glm::mat4& hmdSensorMatrix);
|
||||
|
||||
// compute the hip to hand average azimuth.
|
||||
glm::vec2 computeHandAzimuth() const;
|
||||
glm::vec2 computeHandAzimuth();
|
||||
|
||||
// read the location of a hand controller and save the transform
|
||||
void updateJointFromController(controller::Action poseKey, ThreadSafeValueCache<glm::mat4>& matrixCache);
|
||||
|
|
Loading…
Reference in a new issue