summaryrefslogtreecommitdiffstats
path: root/src/game/shared/entity/head.hh
blob: cec3be400462b639a65d018704e0f62dde84a3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: head.hh
// Description: Head component

#ifndef SHARED_ENTITY_HEAD_HH
#define SHARED_ENTITY_HEAD_HH
#pragma once

struct Head {
    glm::fvec3 angles;
    glm::fvec3 offset;
};

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

#endif