summaryrefslogtreecommitdiffstats
path: root/game/shared/entity/head.hh
blob: 14372073766096aa40d0ccad59022c4111636ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SHARED_ENTITY_HEAD_HH
#define SHARED_ENTITY_HEAD_HH 1
#pragma once

namespace entity
{
struct Head {
    glm::fvec3 angles;
    glm::fvec3 offset;
};
} // namespace entity

namespace entity::client
{
// Client-side only - interpolated and previous head
struct HeadIntr final : public Head {};
struct HeadPrev final : public Head {};
} // namespace entity::client

#endif // SHARED_ENTITY_HEAD_HH