LeviLamina
Loading...
Searching...
No Matches
Cube.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/model/geom/QuadUVRotation.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class TextureOffset;
12class Vec2;
13class Vec3;
14class VertexPT;
15namespace mce { class Color; }
16class Tessellator;
17// clang-format on
18
19class Cube {
20public:
21 // Cube inner types declare
22 // clang-format off
23 struct FaceUVData;
24 // clang-format on
25
26 // Cube inner types define
27 struct FaceUVData {
28 public:
29 // member variables
30 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 FaceUVData& operator=(FaceUVData const&);
41 FaceUVData(FaceUVData const&);
42 FaceUVData();
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
56 // NOLINTEND
57
58public:
59 // prevent constructor by default
60 Cube& operator=(Cube const&);
61 Cube(Cube const&);
62 Cube();
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCNAPI_C void compile(::Tessellator& t) const;
68
69 MCNAPI_C void expandAABB(::AABB& aabb) const;
70
71 MCNAPI_C void
72 setQuad(uchar facing, float u0, float v0, float u1, float v1, ::VertexPT* vertices, ::QuadUVRotation uvRotation);
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCNAPI_C void* $ctor(::Cube&&);
79
80 MCNAPI_C void* $ctor(
81 ::Vec3 const& point,
82 ::Vec3 const& extents,
83 float growAmount,
84 bool shouldMirror,
85 ::std::array<::Cube::FaceUVData, 6> const& faceUVData,
86 ::Vec2 const& inTexExtents,
87 ::mce::Color const& color
88 );
89
90 MCNAPI_C void* $ctor(
91 ::Vec3 const& point,
92 ::Vec3 const& extents,
93 float growAmount,
94 bool shouldMirror,
95 ::Vec2 const& inTexExtents,
96 ::TextureOffset const& inTexOffs,
97 ::mce::Color const& color
98 );
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCNAPI_C void $dtor();
105 // NOLINTEND
106};
Definition AABB.h:18
Definition Tessellator.h:5
Definition TextureOffset.h:5
Definition Vec2.h:5
Definition Vec3.h:10
Definition VertexPT.h:5
Definition Color.h:13
Definition Cube.h:27
Definition Alias.h:14