LeviLamina
Loading...
Searching...
No Matches
Vec3.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Vec2;
8// clang-format on
9
10class Vec3 : public ll::math::floatN3<Vec3> {
11public:
12 using floatN3::floatN3;
13
14public:
15 // member functions
16 // NOLINTBEGIN
17 MCAPI bool isNan() const;
18
19 MCAPI bool isNear(::Vec3 const& rhs, float e) const;
20
21 MCAPI ::std::string toJsonString() const;
22
23 MCAPI ::std::string toString() const;
24 // NOLINTEND
25
26public:
27 // static functions
28 // NOLINTBEGIN
29 MCAPI static ::Vec3 directionFromRotation(::Vec2 const& rot);
30 // NOLINTEND
31
32public:
33 // static variables
34 // NOLINTBEGIN
35 MCAPI static ::Vec3 const& HALF();
36
37 MCAPI static ::Vec3 const& MAX();
38
39 MCAPI static ::Vec3 const& MIN();
40
41 MCAPI static ::Vec3 const& NEG_UNIT_Y();
42
43 MCAPI static ::Vec3 const& ONE();
44
45 MCAPI static ::Vec3 const& UNIT_X();
46
47 MCAPI static ::Vec3 const& UNIT_Y();
48
49 MCAPI static ::Vec3 const& UNIT_Z();
50
51 MCAPI static ::Vec3 const& ZERO();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCFOLD void* $ctor();
58
59 MCAPI void* $ctor(float x_, float y_, float z_);
60 // NOLINTEND
61};
Definition Vec2.h:5
Definition Vec3.h:10