LeviLamina
Loading...
Searching...
No Matches
MatrixStack.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Matrix.h"
7
8class MatrixStack {
9public:
10 // MatrixStack inner types declare
11 // clang-format off
12 struct MatrixStackRef;
13 // clang-format on
14
15 // MatrixStack inner types define
16 struct MatrixStackRef {
17 public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::MatrixStack*> stack;
21 ::ll::TypedStorage<8, 8, ::Matrix*> mat;
22 // NOLINTEND
23
24 public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI ~MatrixStackRef();
28 // NOLINTEND
29
30 public:
31 // destructor thunk
32 // NOLINTBEGIN
33 MCAPI void $dtor();
34 // NOLINTEND
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<8, 40, ::std::deque<::Matrix>> stack;
41 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> sortOrigin;
42 ::ll::TypedStorage<1, 1, bool> _isDirty;
43 // NOLINTEND
44
45public:
46 Matrix& getTop() {
47 _isDirty = true;
48 return stack->back();
49 }
50 Matrix const& top() const { return stack->back(); }
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI MatrixStack();
56
57 MCAPI ::MatrixStack::MatrixStackRef push(bool isSortOrigin);
58
59 MCAPI ::MatrixStack::MatrixStackRef pushIdentity(bool isSortOrigin);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor();
66 // NOLINTEND
67};
Definition MatrixStack.h:5
Definition MatrixStack.h:13