Adding code x2

This commit is contained in:
2023-12-26 21:29:05 -06:00
parent d9bd070fd1
commit f90f1cf40b
25 changed files with 188 additions and 88 deletions

View File

@@ -1,7 +1,9 @@
#include <cstddef>
#pragma once
#include <J3ML/LinearAlgebra.h>
#include <cstddef>
namespace LinearAlgebra {
@@ -25,6 +27,7 @@ namespace LinearAlgebra {
static const Vector2 Left;
static const Vector2 Down;
static const Vector2 Right;
static const Vector2 NaN;
float operator[](std::size_t index);
@@ -126,8 +129,8 @@ namespace LinearAlgebra {
float x = 0;
float y = 0;
#else
const float x = 0;
const float y = 0;
float x = 0;
float y = 0;
#endif
};
}