<commit_before>/* Created on: 2015-08-15
 *     Author: T.Delame (<EMAIL>)
 */
# ifndef GRAPHICS_ORIGIN_MATRIX_H_
# define GRAPHICS_ORIGIN_MATRIX_H_

# include "../graphics_origin.h"

# include <glm/glm.hpp>
# include <glm/gtc/matrix_transform.hpp>
# include <glm/gtc/type_ptr.hpp>
# include <glm/gtc/matrix_access.hpp>
BEGIN_GO_NAMESPACE

typedef glm::tmat4x4< real, glm::highp> mat4;
typedef glm::tmat3x3< real, glm::highp> mat3;

typedef glm::tmat4x4< gpu_real, glm::highp> gpu_mat4;
typedef glm::tmat3x3< gpu_real, glm::highp> gpu_mat3;

END_GO_NAMESPACE

# include <boost/serialization/nvp.hpp>
# include "vec.h"
namespace boost {
  namespace serialization {
    template< class Archive >
    void serialize( Archive & ar, GO_NAMESPACE::mat4& v, const unsigned int version )
    {
      (void)version;
      ar & make_nvp("col0", v[0]);
      ar & make_nvp("col1", v[1]);
      ar & make_nvp("col2", v[2]);
      ar & make_nvp("col3", v[3]);
    }<commit_msg>make more glm::mat4 transforms available to graphics_origin::mat4<commit_after>/* Created on: 2015-08-15
 *     Author: T.Delame (<EMAIL>)
 */
# ifndef GRAPHICS_ORIGIN_MATRIX_H_
# define GRAPHICS_ORIGIN_MATRIX_H_

# include "../graphics_origin.h"

# include <glm/glm.hpp>
# include <glm/gtc/matrix_transform.hpp>
# include <glm/gtx/transform.hpp>
# include <glm/gtc/type_ptr.hpp>
# include <glm/gtc/matrix_access.hpp>
BEGIN_GO_NAMESPACE

typedef glm::tmat4x4< real, glm::highp> mat4;
typedef glm::tmat3x3< real, glm::highp> mat3;

typedef glm::tmat4x4< gpu_real, glm::highp> gpu_mat4;
typedef glm::tmat3x3< gpu_real, glm::highp> gpu_mat3;

END_GO_NAMESPACE

# include <boost/serialization/nvp.hpp>
# include "vec.h"
namespace boost {
  namespace serialization {
    template< class Archive >
    void serialize( Archive & ar, GO_NAMESPACE::mat4& v, const unsigned int version )
    {
      (void)version;
      ar & make_nvp("col0", v[0]);
      ar & make_nvp("col1", v[1]);
      ar & make_nvp("col2", v[2]);
      ar & make_nvp("col3", v[3]);
    }
{'fraction_non_alphanumeric': 0.14796425024826215, 'fraction_numerical': 0.029791459781529295, 'mean_word_length': 4.344827586206897, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1536132', 'n_tokens_mistral': 867, 'n_tokens_neox': 830, 'n_words': 162}