parent
af41dba0d5
commit
a51d94e252
3 changed files with 2 additions and 14 deletions
@ -1,7 +0,0 @@ |
||||
#include "test.h" |
||||
|
||||
namespace Bk::Math { |
||||
int add(int n1, int n2) { |
||||
return n1 + n2; |
||||
} |
||||
} |
@ -1,5 +0,0 @@ |
||||
#pragma once |
||||
|
||||
namespace Bk::Math { |
||||
int add(int n1, int n2); |
||||
} |
@ -1,9 +1,9 @@ |
||||
#include <iostream> |
||||
#include <bakara/test.h> |
||||
#include <bakara.h> |
||||
#include <bakara/math/vec.h> |
||||
|
||||
int main() { |
||||
std::cout << Bk::Math::add(2,2) << "\n"; |
||||
Bk::Math::vec2 vec(2,2); |
||||
Bk::Math::Vec2 vec(2.0f,2.0f); |
||||
std::cout << vec.x << " " << vec.y <<"\n"; |
||||
} |
Loading…
Reference in New Issue