Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
Blamite Game Engine - Strings
00354.05.23.22.0048.blamite
A library containing general purpose utilities and classes for use in multiple projects.
vector.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef STRINGS_EXPORTS
4
#define STRINGS_API __declspec(dllexport)
5
#else
6
#define STRINGS_API __declspec(dllimport)
7
#endif
8
9
enum class
BlamDirection
10
{
11
Forward
,
12
Backward
,
13
Left
,
14
Right
,
15
Up
,
16
Down
17
};
18
22
struct
STRINGS_API
BlamVector2
23
{
24
float
x = 0.0f;
25
float
y = 0.0f;
26
27
BlamVector2
() {};
28
29
BlamVector2
(
float
_x,
float
_y);
30
38
BlamVector2
operator+(
const
BlamVector2
& vector);
39
47
BlamVector2
operator+(
const
float
& _float);
48
56
BlamVector2
operator*(
const
BlamVector2
& vector);
57
65
BlamVector2
operator*(
const
float
& _float);
66
};
67
71
struct
STRINGS_API
BlamVector3
72
{
73
float
x = 0.0f;
74
float
y = 0.0f;
75
float
z = 0.0f;
76
77
BlamVector3
() {};
78
79
BlamVector3
(
float
_x,
float
_y,
float
_z);
80
87
BlamVector3
ConvertForBGFX();
88
94
BlamVector3
ConvertDegreesToRadians();
95
103
BlamVector3
operator+(
const
BlamVector3
& vector);
104
112
BlamVector3
operator+(
const
float
& _float);
113
121
BlamVector3
operator*(
const
BlamVector3
& vector);
122
130
BlamVector3
operator*(
const
float
& _float);
131
};
BlamVector3::BlamVector3
BlamVector3()
Definition:
vector.h:77
BlamDirection::Backward
@ Backward
STRINGS_API
#define STRINGS_API
Definition:
vector.h:6
BlamDirection::Down
@ Down
BlamVector3
Structure representing a 3D vector.
Definition:
vector.h:71
BlamDirection::Up
@ Up
BlamDirection::Forward
@ Forward
BlamDirection::Left
@ Left
BlamVector2::BlamVector2
BlamVector2()
Definition:
vector.h:27
BlamDirection::Right
@ Right
BlamDirection
BlamDirection
Definition:
vector.h:9
BlamVector2
Structure representing a 2D vector.
Definition:
vector.h:22
Strings
components
classes
world
vector.h
Generated on Mon May 23 2022 02:19:24 for Blamite Game Engine - Strings by
1.8.17