mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 05:07:32 +02:00
remove some more stray const
This commit is contained in:
parent
941dfe5bd2
commit
89b78986d5
3 changed files with 8 additions and 8 deletions
|
@ -161,8 +161,8 @@ public:
|
|||
void setMotionState(AvatarMotionState* motionState) { _motionState = motionState; }
|
||||
AvatarMotionState* getMotionState() { return _motionState; }
|
||||
|
||||
virtual void setPosition(const glm::vec3 position);
|
||||
virtual void setOrientation(const glm::quat orientation);
|
||||
virtual void setPosition(glm::vec3 position);
|
||||
virtual void setOrientation(glm::quat orientation);
|
||||
|
||||
public slots:
|
||||
|
||||
|
|
|
@ -201,8 +201,8 @@ public:
|
|||
float getBodyRoll() const;
|
||||
void setBodyRoll(float bodyRoll);
|
||||
|
||||
virtual void setPosition(const glm::vec3 position);
|
||||
virtual void setOrientation(const glm::quat orientation);
|
||||
virtual void setPosition(glm::vec3 position);
|
||||
virtual void setOrientation(glm::quat orientation);
|
||||
|
||||
void nextAttitude(glm::vec3 position, glm::quat orientation); // Can be safely called at any time.
|
||||
void startCapture(); // start/end of the period in which the latest values are about to be captured for camera, etc.
|
||||
|
|
|
@ -330,10 +330,10 @@ public:
|
|||
// virtual const glm::vec3 getPosition() const { return SpatiallyNestable::getPosition(); }
|
||||
virtual const glm::quat getRotation() const { return SpatiallyNestable::getOrientation(); }
|
||||
|
||||
virtual void setPosition(const glm::vec3 position);
|
||||
virtual void setLocalPosition(const glm::vec3 position);
|
||||
virtual void setRotation(const glm::quat orientation);
|
||||
virtual void setLocalRotation(const glm::quat orientation);
|
||||
virtual void setPosition(glm::vec3 position);
|
||||
virtual void setLocalPosition(glm::vec3 position);
|
||||
virtual void setRotation(glm::quat orientation);
|
||||
virtual void setLocalRotation(glm::quat orientation);
|
||||
|
||||
// updateFoo() methods to be used when changes need to be accumulated in the _dirtyFlags
|
||||
void updatePosition(const glm::vec3& value);
|
||||
|
|
Loading…
Reference in a new issue