mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:10:49 +02:00
fix
This commit is contained in:
parent
b42d093b4a
commit
44ef5d4bac
2 changed files with 2 additions and 26 deletions
|
@ -35,6 +35,7 @@ int unpackFloatAngleFromTwoByte(uint16_t* byteAnglePointer, float* destinationPo
|
||||||
|
|
||||||
AvatarData::AvatarData() :
|
AvatarData::AvatarData() :
|
||||||
_handPosition(0,0,0),
|
_handPosition(0,0,0),
|
||||||
|
_lookatPosition(0,0,0),
|
||||||
_bodyYaw(-90.0),
|
_bodyYaw(-90.0),
|
||||||
_bodyPitch(0.0),
|
_bodyPitch(0.0),
|
||||||
_bodyRoll(0.0),
|
_bodyRoll(0.0),
|
||||||
|
|
|
@ -28,32 +28,7 @@ enum KeyState
|
||||||
|
|
||||||
class AvatarData : public AgentData {
|
class AvatarData : public AgentData {
|
||||||
public:
|
public:
|
||||||
AvatarData() :
|
AvatarData();
|
||||||
_handPosition(0,0,0),
|
|
||||||
_lookatPosition(0,0,0),
|
|
||||||
_bodyYaw(-90.0),
|
|
||||||
_bodyPitch(0.0),
|
|
||||||
_bodyRoll(0.0),
|
|
||||||
_headYaw(0),
|
|
||||||
_headPitch(0),
|
|
||||||
_headRoll(0),
|
|
||||||
_headLeanSideways(0),
|
|
||||||
_headLeanForward(0),
|
|
||||||
_audioLoudness(0),
|
|
||||||
_handState(0),
|
|
||||||
_cameraPosition(0,0,0),
|
|
||||||
_cameraDirection(0,0,0),
|
|
||||||
_cameraUp(0,0,0),
|
|
||||||
_cameraRight(0,0,0),
|
|
||||||
_cameraFov(0.0f),
|
|
||||||
_cameraAspectRatio(0.0f),
|
|
||||||
_cameraNearClip(0.0f),
|
|
||||||
_cameraFarClip(0.0f),
|
|
||||||
_keyState(NO_KEY_DOWN),
|
|
||||||
_wantResIn(false),
|
|
||||||
_wantColor(true),
|
|
||||||
_wantDelta(false)
|
|
||||||
{ };
|
|
||||||
|
|
||||||
const glm::vec3& getPosition() const { return _position; }
|
const glm::vec3& getPosition() const { return _position; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue