- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

intrinsic_matrix.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2009-06-05
    00005 // Updated : 2009-06-05
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/core/intrinsic_common.hpp
    00009
    00010 #ifndef glm_detail_intrinsic_matrix
    00011 #define glm_detail_intrinsic_matrix
    00012
    00013 #include "setup.hpp"
    00014
    00015 #if((GLM_ARCH & GLM_ARCH_SSE2) != GLM_ARCH_SSE2)
    00016 #       error "SSE2 instructions not supported or enabled"
    00017 #else
    00018
    00019 #include "intrinsic_geometric.hpp"
    00020
    00021 namespace glm{
    00022 namespace detail
    00023 {
    00024         void sse_add_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
    00025
    00026         void sse_sub_ps(__m128 in1[4], __m128 in2[4], __m128 out[4]);
    00027
    00028         __m128 sse_mul_ps(__m128 m[4], __m128 v);
    00029
    00030         __m128 sse_mul_ps(__m128 v, __m128 m[4]);
    00031
    00032         void sse_mul_ps(__m128 const in1[4], __m128 const in2[4], __m128 out[4]);
    00033
    00034         void sse_transpose_ps(__m128 const in[4], __m128 out[4]);
    00035
    00036         void sse_inverse_ps(__m128 const in[4], __m128 out[4]);
    00037
    00038         void sse_rotate_ps(__m128 const in[4], float Angle, float const v[3], __m128 out[4]);
    00039
    00040         __m128 sse_det_ps(__m128 const m[4]);
    00041
    00042         __m128 sse_slow_det_ps(__m128 const m[4]);
    00043
    00044 }//namespace detail
    00045 }//namespace glm
    00046
    00047 #include "intrinsic_matrix.inl"
    00048
    00049 #endif//GLM_ARCH
    00050 #endif//glm_detail_intrinsic_matrix