LkEngine
0.1.2
Loading...
Searching...
No Matches
Vector.h
Go to the documentation of this file.
1
5
#pragma once
6
7
#include <type_traits>
8
#include <ostream>
9
10
#define LK_MATH_VECTOR_ANONYMOUS_STRUCT 0
11
#define LK_MATH_VECTOR3_EXPLICIT_GLM_CONSTRUCTOR 0
12
13
#include "Vector2.h"
14
#include "Vector3.h"
15
#include "Vector4.h"
16
17
namespace
LkEngine
{
18
29
enum class
EVectorAxis
: uint32_t
30
{
31
X = LK_BIT(0),
32
Y = LK_BIT(1),
33
Z = LK_BIT(2),
34
W = LK_BIT(3),
35
36
/* Aliases. */
37
R = X,
38
G = Y,
39
B = Z,
40
A = W,
41
};
42
LK_ENUM_CLASS(
EVectorAxis
);
43
48
using
LVector2
=
TVector2<float>
;
49
54
using
LVector3
=
TVector3<float>
;
55
60
using
LVector4
=
TVector4<float>
;
61
68
using
LVector
=
LVector3
;
69
72
}
LkEngine::EVectorAxis
EVectorAxis
Definition
Vector.h:30
LkEngine::LVector3
TVector3< float > LVector3
Definition
Vector.h:54
LkEngine
Definition
Asset.h:11
LkEngine::TVector2< float >
LkEngine::TVector3
Definition
Vector3.h:676
LkEngine::TVector4
Templated four-component vector.
Definition
Vector4.h:32
LkEngine
Source
LkEngine
Core
Math
Vector.h
Generated by
1.12.0