Sha256: 5b71c1681f10370c19a700d82c68d2c0e6aae0b6b533d040a09a94467500468f
Contents?: true
Size: 551 Bytes
Versions: 24
Compression:
Stored size: 551 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __RAYS_SRC_MATRIX_H__ #define __RAYS_SRC_MATRIX_H__ #include <glm/mat4x4.hpp> #include <rays/matrix.h> namespace Rays { typedef glm::tmat4x4<coord> Mat4; inline Mat4& to_glm ( Matrix& val) {return *( Mat4*) &val;} inline const Mat4& to_glm (const Matrix& val) {return *(const Mat4*) &val;} inline Matrix& to_rays ( Mat4& val) {return *( Matrix*) &val;} inline const Matrix& to_rays (const Mat4& val) {return *(const Matrix*) &val;} }// Rays #endif//EOH
Version data entries
24 entries across 24 versions & 1 rubygems