Handbook
Glossary
Matrix
Vocabulary
raylib
Class description
Represents a 4x4 OpenGL style matrix. It's right handed and column major.
Warning
Values are all single-precision where as Factor is double precision (see
float
)
Definition
USING:
alien.c-types
classes.struct
;
IN:
raylib
STRUCT:
Matrix
{
m0
float
initial:
0.0
}
{
m4
float
initial:
0.0
}
{
m8
float
initial:
0.0
}
{
m12
float
initial:
0.0
}
{
m1
float
initial:
0.0
}
{
m5
float
initial:
0.0
}
{
m9
float
initial:
0.0
}
{
m13
float
initial:
0.0
}
{
m2
float
initial:
0.0
}
{
m6
float
initial:
0.0
}
{
m10
float
initial:
0.0
}
{
m14
float
initial:
0.0
}
{
m3
float
initial:
0.0
}
{
m7
float
initial:
0.0
}
{
m11
float
initial:
0.0
}
{
m15
float
initial:
0.0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
raylib
;
M:
Matrix
clone
clone-underlying
\
Matrix
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
raylib
;
M:
Matrix
struct-slot-values
{
[
m0>>
]
[
m4>>
]
[
m8>>
]
[
m12>>
]
[
m1>>
]
[
m5>>
]
[
m9>>
]
[
m13>>
]
[
m2>>
]
[
m6>>
]
[
m10>>
]
[
m14>>
]
[
m3>>
]
[
m7>>
]
[
m11>>
]
[
m15>>
]
}
cleave>array
;
inline