Overte C++ Documentation
MyHead.h
1 //
2 // Created by Bradley Austin Davis on 2017/04/27
3 // Copyright 2013-2017 High Fidelity, Inc.
4 //
5 // Distributed under the Apache License, Version 2.0.
6 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7 //
8 
9 #ifndef hifi_MyHead_h
10 #define hifi_MyHead_h
11 
12 #include <avatars-renderer/Head.h>
13 
14 class MyAvatar;
15 class MyHead : public Head {
16  using Parent = Head;
17 public:
18  explicit MyHead(MyAvatar* owningAvatar);
19 
21  glm::quat getHeadOrientation() const;
22  void simulate(float deltaTime) override;
23 
24 private:
25  Q_DISABLE_COPY(MyHead)
26 };
27 
28 #endif // hifi_MyHead_h