Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Core/cr_matrix.cpp File Reference
#include <xmmintrin.h>
#include <cmath>
#include "cr_matrix.h"

Namespaces

namespace  darc
namespace  darc::core

Functions

template<>
const BaseMatrix< Matrix
< float, 4, 4 > > 
darc::core::operator* (const BaseMatrix< Matrix< float, 4, 4 > > &_m0, const BaseMatrix< Matrix< float, 4, 4 > > &_m1)
 Operator "Matrix multiplication" for 4-dimensional matrices using SIMD.
CR_API Matrix4D darc::core::CR_Matrix4D_Identity ()
CR_API Real darc::core::Matrix4D_Det (const Matrix4D &_m)
CR_API Real darc::core::Matrix4D_Det3 (const Matrix4D &_mIn)
CR_API Matrix4D darc::core::Matrix4D_Invert (const Matrix4D &_m)
CR_API Matrix4D darc::core::ge_Matrix4D_transpose (const Matrix4D &_m)
CR_API Matrix4D darc::core::ge_Matrix4D_TR_invert (const Matrix4D &_m)
CR_API Matrix4D darc::core::ge_Matrix4D_translation (const Real &_x, const Real &_y, const Real &_z)
CR_API void darc::core::ge_Matrix4D_translation (Matrix4D *_m, Real _x, Real _y, Real _z)
CR_API float darc::core::Matrix4D_Det2 (const Matrix4D &_m)
CR_API void darc::core::Matrix4D_Invert2 (float *src)
CR_API Matrix4D darc::core::ge_Matrix4D_projectionLH (const Real &_viewY, const Real &_ratio, const Real &_zn, const Real &_zf)
CR_API Matrix4D darc::core::ge_Matrix4D_frustumLH (const Real _l, const Real _r, const Real _b, const Real _t, const Real _n, const Real _f)
CR_API Matrix4D darc::core::ge_Matrix4D_orthogonalLH (const Real _w, const Real _h, const Real &_zn, const Real &_zf)
CR_API Matrix4D darc::core::ge_Matrix4D_orthogonalOffLH (const Real _l, const Real _r, const Real _b, const Real _t, const Real &_zn, const Real &_zf)
CR_API Matrix4D darc::core::CR_Matrix4D_rotX (const Real &_r)
CR_API Matrix4D darc::core::CR_Matrix4D_rotY (const Real &_r)
CR_API Matrix4D darc::core::CR_Matrix4D_RotZ (const Real &_r)
CR_API Matrix3D darc::core::ge_Matrix3D_rot (const Real &_r)