Added documentation to math folder

dev
anulax1225 ago%!(EXTRA string=1 year)
parent 11c135a989
commit d72784fa02
  1. 4
      bakara/src/bakara/math/mathpch.h
  2. 30
      bakara/src/bakara/math/type.h

@ -1,4 +1,8 @@
#pragma once
/*! \file mathpch.h
Precompiled headers communly used in math functionnalitys.
*/
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>

@ -1,4 +1,34 @@
#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
*/
#include <bakara/math/mathpch.h>
namespace Bk

Loading…
Cancel
Save