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 toString() const;
22 // NOLINTEND
23
24public:
25 // static functions
26 // NOLINTBEGIN
27 MCAPI static ::Vec3 directionFromRotation(::Vec2 const& rot);
28 // NOLINTEND
29
30public:
31 // static variables
32 // NOLINTBEGIN
33 MCAPI static ::Vec3 const& HALF();
34
35 MCAPI static ::Vec3 const& MAX();
36
37 MCAPI static ::Vec3 const& MIN();
38
39 MCAPI static ::Vec3 const& NEG_UNIT_Y();
40
41 MCAPI static ::Vec3 const& ONE();
42
43 MCAPI static ::Vec3 const& UNIT_X();
44
45 MCAPI static ::Vec3 const& UNIT_Y();
46
47 MCAPI static ::Vec3 const& UNIT_Z();
48
49 MCAPI static ::Vec3 const& ZERO();
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(float s);
56
57 MCAPI void* $ctor(float x_, float y_, float z_);
58 // NOLINTEND
59};
Definition Vec2.h:5
Definition Vec3.h:10