LeviLamina
Loading...
Searching...
No Matches
RotationCommandUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class Vec2;
9class Vec3;
10namespace RotationCommandUtils { class RotationData; }
11// clang-format on
12
13namespace RotationCommandUtils {
14// functions
15// NOLINTBEGIN
16MCAPI ::Vec2 ComputeFacingRotation(::Vec3 destination, ::Vec3 const& facePosition, int commandVersion);
17
18MCAPI ::Vec2 ComputeRotation(
19 ::Actor const& victim,
20 ::std::optional<::RotationCommandUtils::RotationData> const& rotationData,
21 int commandVersion
22);
23// NOLINTEND
24
25} // namespace RotationCommandUtils
Definition Actor.h:104
Definition Vec2.h:5
Definition Vec3.h:10