Skip to content

Commit

Permalink
Fixing math macro again...
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Dec 26, 2023
1 parent 853c539 commit 2d0ce77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions seika/math/se_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ typedef struct SKAVector2 {
float y;
} SKAVector2;

#define SKA_VECTOR2_ZERO (SEVector2){ 0.0f, 0.0f }
#define SKA_VECTOR2_LEFT (SEVector2){ -1.0f, 0.0f }
#define SKA_VECTOR2_RIGHT (SEVector2){ 1.0f, 0.0f }
#define SKA_VECTOR2_UP (SEVector2){ 0.0f, -1.0f }
#define SKA_VECTOR2_DOWN (SEVector2){ 0.0f, 1.0f }
#define SKA_VECTOR2_ZERO (SKAVector2){ 0.0f, 0.0f }
#define SKA_VECTOR2_LEFT (SKAVector2){ -1.0f, 0.0f }
#define SKA_VECTOR2_RIGHT (SKAVector2){ 1.0f, 0.0f }
#define SKA_VECTOR2_UP (SKAVector2){ 0.0f, -1.0f }
#define SKA_VECTOR2_DOWN (SKAVector2){ 0.0f, 1.0f }

bool ska_math_vec2_equals(const SKAVector2* v1, const SKAVector2* v2);
SKAVector2 ska_math_vec2_lerp(const SKAVector2* v1, const SKAVector2* v2, float t);
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seika",
"version": "0.0.16",
"version": "0.0.17",
"dependencies": [
{
"name": "sdl2",
Expand Down

0 comments on commit 2d0ce77

Please sign in to comment.