|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
#include <cstdint>#include <string>#include <sstream>#include <cmath>#include <stdexcept>#include <array>#include <algorithm>#include <cassert>#include <iomanip>Go to the source code of this file.
Classes | |
| class | Sleak::Math::Vector< T, N > |
| class | Sleak::Math::Vector2D |
| class | Sleak::Math::Vector3D |
| class | Sleak::Math::Vector4D |
Namespaces | |
| namespace | Sleak |
| Root namespace for everything the engine exposes. | |
| namespace | Sleak::Math |
| Vectors, matrices, quaternions, colors, AABBs, and random helpers. | |
Macros | |
| #define | EPSILON 1e-5f |
| #define | VECTOR_Backward Vector3D(0, 0, -1) |
| #define | VECTOR_Down Vector3D(0, -1, 0) |
| #define | VECTOR_Forward Vector3D(0, 0, 1) |
| #define | VECTOR_Left Vector3D(-1, 0, 0) |
| #define | VECTOR_Right Vector3D(1, 0, 0) |
| #define | VECTOR_Up Vector3D(0, 1, 0) |
Functions | |
| template<typename T, size_t N> | |
| Vector< T, N > | Sleak::Math::operator* (T scalar, const Vector< T, N > &vec) |
| #define EPSILON 1e-5f |
Definition at line 21 of file Vector.hpp.
| #define VECTOR_Backward Vector3D(0, 0, -1) |
Definition at line 19 of file Vector.hpp.
| #define VECTOR_Down Vector3D(0, -1, 0) |
Definition at line 15 of file Vector.hpp.
| #define VECTOR_Forward Vector3D(0, 0, 1) |
Definition at line 18 of file Vector.hpp.
| #define VECTOR_Left Vector3D(-1, 0, 0) |
Definition at line 17 of file Vector.hpp.
| #define VECTOR_Right Vector3D(1, 0, 0) |
Definition at line 16 of file Vector.hpp.
| #define VECTOR_Up Vector3D(0, 1, 0) |
Definition at line 14 of file Vector.hpp.