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