mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 19:30:41 +02:00
some spacing cleanup in Avatar header
This commit is contained in:
parent
4a13f3b75a
commit
6cbe0ca3d0
1 changed files with 44 additions and 44 deletions
|
@ -145,10 +145,11 @@ public:
|
|||
//setters
|
||||
void setMousePressed(bool mousePressed) { _mousePressed = mousePressed; }
|
||||
void setMovedHandOffset(glm::vec3 movedHandOffset) { _movedHandOffset = movedHandOffset;}
|
||||
void setThrust (glm::vec3 newThrust ) { _thrust = newThrust; };
|
||||
void setThrust(glm::vec3 newThrust) { _thrust = newThrust; }
|
||||
void setDisplayingLookatVectors(bool displayingLookatVectors) { _head.setRenderLookatVectors(displayingLookatVectors); }
|
||||
void setVelocity(const glm::vec3 velocity) { _velocity = velocity; };
|
||||
void setLeanScale(float scale) { _leanScale = scale;}
|
||||
|
||||
void setGravity(glm::vec3 gravity);
|
||||
void setMouseRay(const glm::vec3 &origin, const glm::vec3 &direction);
|
||||
void setOrientation(const glm::quat& orientation);
|
||||
|
@ -179,8 +180,8 @@ public:
|
|||
const glm::vec3& getLastCollisionPosition() const { return _lastCollisionPosition;}
|
||||
float getAbsoluteHeadYaw() const;
|
||||
float getAbsoluteHeadPitch() const;
|
||||
Head& getHead () {return _head; }
|
||||
Hand& getHand () {return _hand; }
|
||||
Head& getHead() const {return _head; }
|
||||
Hand& getHand() const {return _hand; }
|
||||
glm::quat getOrientation() const;
|
||||
glm::quat getWorldAlignedOrientation() const;
|
||||
const glm::vec3& getMouseRayOrigin() const { return _mouseRayOrigin; }
|
||||
|
@ -224,8 +225,7 @@ private:
|
|||
Avatar(const Avatar&);
|
||||
Avatar& operator= (const Avatar&);
|
||||
|
||||
struct AvatarBall
|
||||
{
|
||||
struct AvatarBall {
|
||||
AvatarJointID parentJoint; // the skeletal joint that serves as a reference for determining the position
|
||||
glm::vec3 parentOffset; // a 3D vector in the frame of reference of the parent skeletal joint
|
||||
AvatarBodyBallID parentBall; // the ball to which this ball is constrained for spring forces
|
||||
|
|
Loading…
Reference in a new issue