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
00341.11.29.21.2042.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
34
BlamVector2
operator+(
const
BlamVector2
& vector);
35
43
BlamVector2
operator+(
const
float
& _float);
44
52
BlamVector2
operator*(
const
BlamVector2
& vector);
53
61
BlamVector2
operator*(
const
float
& _float);
62
};
63
67
struct
STRINGS_API
BlamVector3
68
{
69
float
x = 0.0f;
70
float
y = 0.0f;
71
float
z = 0.0f;
72
79
BlamVector3
ConvertForBGFX();
80
86
BlamVector3
ConvertDegreesToRadians();
87
95
BlamVector3
operator+(
const
BlamVector3
& vector);
96
104
BlamVector3
operator+(
const
float
& _float);
105
113
BlamVector3
operator*(
const
BlamVector3
& vector);
114
122
BlamVector3
operator*(
const
float
& _float);
123
};
BlamDirection::Backward
@ Backward
STRINGS_API
#define STRINGS_API
Definition:
vector.h:6
BlamDirection::Down
@ Down
BlamVector3
Structure representing a 3D vector.
Definition:
vector.h:67
BlamDirection::Up
@ Up
BlamDirection::Forward
@ Forward
BlamDirection::Left
@ Left
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 Nov 29 2021 21:27:25 for Blamite Game Engine - Strings by
1.8.17