00001
00002
00004
00005
00006
00007
00009
00010 #ifndef GLM_DETAIL_INTRINSIC_MATRIX_INCLUDED
00011 #define GLM_DETAIL_INTRINSIC_MATRIX_INCLUDED
00012
00013 #include "../glm.hpp"
00014
00015 #include <xmmintrin.h>
00016 #include <emmintrin.h>
00017
00018 void _mm_add_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
00019
00020 void _mm_sub_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
00021
00022 __m128 _mm_mul_ps(__m128 m[4], __m128 v);
00023
00024 __m128 _mm_mul_ps(__m128 v, __m128 m[4]);
00025
00026 void _mm_mul_ps(__m128 const in1[4], __m128 const in2[4], __m128 out[4]);
00027
00028 void _mm_transpose_ps(__m128 const in[4], __m128 out[4]);
00029
00030 void _mm_inverse_ps(__m128 const in[4], __m128 out[4]);
00031
00032 void _mm_rotate_ps(__m128 const in[4], float Angle, float const v[3], __m128 out[4]);
00033
00034 #include "intrinsic_matrix.inl"
00035
00036 #endif//GLM_DETAIL_INTRINSIC_MATRIX_INCLUDED