This commit is contained in:
aozhiwei 2019-10-09 14:15:57 +08:00
parent 01adda7e31
commit 9a8d93e085
2 changed files with 29 additions and 0 deletions

13
a8/vec3.cc Normal file
View File

@ -0,0 +1,13 @@
#include <math.h>
#include <a8/a8.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/vec3.hpp>
#include <a8/vec3.h>
namespace a8
{
}

16
a8/vec3.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef A8_VEC3_H
#define A8_VEC3_H
namespace a8
{
struct Vec3
{
float x = 0.0f;
float y = 0.0f;
float z = 0.0f;
Vec3(float _x = 0.0f, float _y = 0.0f, float _z = 0.0f):x(_x), y(_y), z(_z) {};
};
}
#endif