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#include "mc/deps/core/math/Color.h"
8#include "mc/deps/core/math/Vec2.h"
9#include "mc/deps/core/math/Vec3.h"
10
11// auto generated forward declare list
12// clang-format off
13class PolygonQuad;
14class TextureOffset;
15// clang-format on
16
17class Cube {
18public:
19 // Cube inner types declare
20 // clang-format off
21 struct FaceUVData;
22 // clang-format on
23
24 // Cube inner types define
25 struct FaceUVData {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 8, ::Vec2> mUV;
30 ::ll::TypedStorage<4, 8, ::Vec2> mUVSize;
31 ::ll::TypedStorage<4, 4, int> mMaterialInstanceListIndex;
32 ::ll::TypedStorage<1, 1, bool> mFaceValid;
33 ::ll::TypedStorage<1, 1, ::QuadUVRotation> mUvRotation;
34 // NOLINTEND
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<4, 12, ::Vec3> mOrigin;
41 ::ll::TypedStorage<4, 12, ::Vec3> mSize;
42 ::ll::TypedStorage<4, 12, ::Vec3> mRotation;
43 ::ll::TypedStorage<4, 12, ::Vec3> mCubePivot;
44 ::ll::TypedStorage<8, 24, ::std::vector<::PolygonQuad>> mPolygons;
45 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
46 ::ll::TypedStorage<1, 1, bool> mMirrored;
47 ::ll::TypedStorage<4, 144, ::std::array<::Cube::FaceUVData, 6>> mFaceData;
48 // NOLINTEND
49
50public:
51 // prevent constructor by default
52 Cube();
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI Cube(
58 ::Vec3 const& point,
59 ::Vec3 const& extents,
60 float growAmount,
61 bool shouldMirror,
62 ::Vec2 const& inTexExtents,
63 ::TextureOffset const& inTexOffs,
64 ::mce::Color const& color
65 );
66
67 MCAPI ~Cube();
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(
74 ::Vec3 const& point,
75 ::Vec3 const& extents,
76 float growAmount,
77 bool shouldMirror,
78 ::Vec2 const& inTexExtents,
79 ::TextureOffset const& inTexOffs,
80 ::mce::Color const& color
81 );
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCFOLD void $dtor();
88 // NOLINTEND
89};
Definition Cube.h:5
Definition PolygonQuad.h:5
Definition TextureOffset.h:5
Definition Cube.h:13