3#include "mc/_HeaderOutputPredefine.h"
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"
32 ::ll::TypedStorage<4, 8, ::Vec2> mUV;
33 ::ll::TypedStorage<4, 8, ::Vec2> mUVSize;
34 ::ll::TypedStorage<4, 4, int> mMaterialInstanceListIndex;
35 ::ll::TypedStorage<1, 1, bool> mFaceValid;
36 ::ll::TypedStorage<1, 1, ::QuadUVRotation> mUvRotation;
43 ::ll::TypedStorage<4, 12, ::Vec3> mOrigin;
44 ::ll::TypedStorage<4, 12, ::Vec3> mSize;
45 ::ll::TypedStorage<4, 12, ::Vec3> mRotation;
46 ::ll::TypedStorage<4, 12, ::Vec3> mCubePivot;
47 ::ll::TypedStorage<8, 24, ::std::vector<::PolygonQuad>> mPolygons;
48 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
49 ::ll::TypedStorage<1, 1, bool> mMirrored;
50 ::ll::TypedStorage<4, 144, ::std::array<::Cube::FaceUVData, 6>> mFaceData;
55 Cube& operator=(Cube
const&);
66 ::Vec3
const& extents,
69 ::std::array<::Cube::FaceUVData, 6>
const& faceUVData,
70 ::Vec2
const& inTexExtents,
71 ::mce::Color
const& color
76 ::Vec3
const& extents,
79 ::Vec2
const& inTexExtents,
80 ::TextureOffset
const& inTexOffs,
81 ::mce::Color
const& color
84 MCAPI
void compile(::Tessellator& t)
const;
86 MCAPI
void expandAABB(::AABB& aabb)
const;
89 setQuad(uchar facing,
float u0,
float v0,
float u1,
float v1, ::VertexPT* vertices, ::QuadUVRotation uvRotation);
97 MCAPI
void* $ctor(::Cube&&);
101 ::Vec3
const& extents,
104 ::std::array<::Cube::FaceUVData, 6>
const& faceUVData,
105 ::Vec2
const& inTexExtents,
106 ::mce::Color
const& color
111 ::Vec3
const& extents,
114 ::Vec2
const& inTexExtents,
115 ::TextureOffset
const& inTexOffs,
116 ::mce::Color
const& color
Definition PolygonQuad.h:5
Definition Tessellator.h:5
Definition TextureOffset.h:5