parent
d9b7f096fd
commit
82c0be37cd
1 changed files with 20 additions and 26 deletions
@ -1,42 +1,36 @@ |
||||
#pragma once |
||||
|
||||
/*! \file type.h
|
||||
Math types alias file used to abstract math types and not depend on any library.
|
||||
As long as it's implemented here.
|
||||
*/ |
||||
|
||||
/*! \typedef Bk::uint
|
||||
\brief Simplefied name for unsigned int |
||||
*/ |
||||
|
||||
/*! \typedef Bk::Vec2
|
||||
\brief Wrapper around glm::vec2 |
||||
*/ |
||||
|
||||
/*! \typedef Bk::Vec3
|
||||
\brief Wrapper around glm::vec3 |
||||
*/ |
||||
|
||||
/*! \typedef Bk::Vec4
|
||||
\brief Wrapper around glm::vec4 |
||||
*/ |
||||
|
||||
/*! \typedef Bk::Mat3
|
||||
\brief Wrapper around glm::mat3 |
||||
*/ |
||||
|
||||
/*! \typedef Bk::Mat4
|
||||
\brief Wrapper around glm::mat4 |
||||
Math types alias file used to abstract math types and not depend on any library.
|
||||
As long as it's implemented here.
|
||||
*/ |
||||
|
||||
#include <bakara/math/mathpch.h> |
||||
|
||||
namespace Bk |
||||
{ |
||||
/*! \typedef Bk::uint
|
||||
Simplefied name for unsigned int |
||||
*/ |
||||
using uint = unsigned int; |
||||
/*! \typedef Bk::Vec2
|
||||
Wrapper around glm::vec2 |
||||
*/ |
||||
using Vec2 = glm::vec2; |
||||
/*! \typedef Bk::Vec3
|
||||
Wrapper around glm::vec3 |
||||
*/ |
||||
using Vec3 = glm::vec3; |
||||
/*! \typedef Bk::Vec4
|
||||
Wrapper around glm::vec4 |
||||
*/ |
||||
using Vec4 = glm::vec4; |
||||
/*! \typedef Bk::Mat3
|
||||
Wrapper around glm::mat3 |
||||
*/ |
||||
using Mat3 = glm::mat3; |
||||
/*! \typedef Bk::Mat4
|
||||
Wrapper around glm::mat4 |
||||
*/ |
||||
using Mat4 = glm::mat4;
|
||||
} |
||||
|
Loading…
Reference in New Issue