LeviLamina
Loading...
Searching...
No Matches
Matrix.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Vec3
;
8
// clang-format on
9
10
class
Matrix {
11
public
:
12
// member variables
13
// NOLINTBEGIN
14
::ll::TypedStorage<4, 64, ::glm::mat4x4> _m;
15
// NOLINTEND
16
17
#ifdef LL_PLAT_S
18
#else
// LL_PLAT_C
19
public
:
20
// prevent constructor by default
21
Matrix();
22
23
#endif
24
public
:
25
// member functions
26
// NOLINTBEGIN
27
#ifdef LL_PLAT_C
28
MCAPI Matrix(::glm::vec4
const
& row0, ::glm::vec4
const
& row1, ::glm::vec4
const
& row2, ::glm::vec4
const
& row3);
29
30
MCAPI
bool
operator==(::Matrix
const
& rhs)
const
;
31
32
MCAPI
void
rotate(
float
a, ::glm::vec3
const
& axis);
33
34
MCAPI
void
rotate(
float
a,
float
x,
float
y,
float
z);
35
36
MCAPI
void
rotateXYZ(
::Vec3
const
& rotation);
37
38
MCAPI
void
scale(
float
x);
39
40
MCAPI
void
scale(
float
x,
float
y,
float
z);
41
42
MCAPI
void
translate(::glm::vec3
const
& t);
43
44
MCAPI
void
translate(
float
x,
float
y,
float
z);
45
#endif
46
// NOLINTEND
47
48
public
:
49
// static variables
50
// NOLINTBEGIN
51
MCAPI static ::Matrix
const
& IDENTITY();
52
// NOLINTEND
53
54
public
:
55
// constructor thunks
56
// NOLINTBEGIN
57
#ifdef LL_PLAT_C
58
MCAPI
void
*
59
$ctor(::glm::vec4
const
& row0, ::glm::vec4
const
& row1, ::glm::vec4
const
& row2, ::glm::vec4
const
& row3);
60
#endif
61
// NOLINTEND
62
};
Vec3
Definition
Vec3.h:10
src
mc
deps
core
math
Matrix.h
Generated on
for LeviLamina by
1.16.1